Quantum Mechanics as a Generalized Stochastic Theory in Phase Space