Torch: Turn off flash mode when camera is opened

Patchset 2: Removed handler from observer
            Fixed typos and code style
            Fixed unnecesary code

* When mUseCameraInterface is used, Torch causes a lot of problems to Camera
(from opening errors to kernel panic modes, specially when acts as a widget or
lockscreen). This change is focussed on disabled the flashmode when other
app or component requests the use of the Camera.

Requires http://review.cyanogenmod.org/#/c/43372/

Change-Id: Ie94a4fc6d0dca899139a1d21fab7be8a2eaac7bb
JIRA: CYAN-CYAN-568
Issue: https://jira.cyanogenmod.org/browse/CYAN-CYAN-568
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Merge "Torch: Turn off flash mode when camera is opened" into cm-10.1-staging