FORMATION OF MAGNETIZED PRESTELLAR CORES WITH AMBIPOLAR DIFFUSION AND TURBULENCE