Bug 890427: use camera API's onPreviewStateChange callback to avoid deadlock. r=johu

do the same thing in loadCameraPreview
Bug 898326 - Disable buttons when switching camera. r=djf