[TIMOB-17806] (3_4_X) Cleanup

Cherry Pick PR #6226 into 3_4_X
This PR does a few things.
1. Fixes bugs in AudioRecorder,Sound and AudioPlayer
2. Replaces UIAccelerometer with CMMotionManager
3. Removes a few compilation warnings in the titanium project. 

The only warnings now are from the third party library used by AudioRecorder