The contextual and modal character of quantum mechanics : a formal and philosophical analysis in the foundations of physics