Changes to CameraHelper
1. use synchonized methods instead of semaphore
2. change camera.lock() to camera.reconnect()
3. some more error handling
OnPause now stops recording without crash.
Merge branch 'playing_with_tasks' into develop