Foundations of Quantum Mechanics. Historical Analysis and Open Questions