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 "Camera: Wait for camera initialization" into cm-10.1