Camera: Wait for camera initialization

Patchset 2: Capture specific exceptions instead of a generic exception

Change-Id: I13a6c0bea806184b82b96bb0ce0265d47206d473
JIRA: CYAN-1190
Issue: https://jira.cyanogenmod.org/browse/CYAN-1190
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Merge "Camera: Wait for camera initialization" into cm-10.1-staging