[TIMOB-17806] Cleanup

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