Player correctly implements onPause, onStop, and onResume

Player now pauses when interrupted by other applications, such as phone calls.