Camera2: fix a crash in taking picture

takePicture calls should not overlap, otherwise a fatal exception will
occur. Check and modify camera state before the call to prevent such
crash.

Change-Id: I5316f0d389631c3e4b5f92a8eb81e11a5af804a6
Add 15.9MP and 11.9MP picture size to arrays.

These values are used by klte*, and possibly others

Change-Id: Ib710ce387e7a43566dfefdbebcfeef4cd80f6364
Camera: Disable video HDR on devices that don't support it

Change-Id: Ie9cb024dec64af91a96bf913d17ad4b8526a4870
Merge branch 'cm-11.0' of https://github.com/CyanogenMod/android_packages_apps_Camera2 into kitkat