Camera: Wait for camera initialization

Patchset 2: Capture specific exceptions instead of a generic exception

Change-Id: Id62d0dedc630c3815dca7b101fdbf731154be3ca
JIRA: CYAN-1190
Issue: https://jira.cyanogenmod.org/browse/CYAN-1190
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Merge remote-tracking branch 'aokp/jb-mr1' into jb-mr1