Revert "Camera: Propagate power mode selection from UI to lower layers."

This reverts commit 5302d2e099de0ae1c3cb4a9cda993fe28b0e8c46, runtime
power-mode changes are causing stability issues in camcorder
camera: Disable wavelet denoise by default

 * Many devices (such as M7) just crash in frameproc if you turn this
   on. Devices that want it can overlay it in.

Change-Id: I4ff6645578178a8d3ee7871613343be0deef46a4
camera: Check if video sizes are available

 * Some drivers don't report video sizes and we should avoid using fine
   resolution lookup, otherwise a crash results.

Change-Id: I8010e66d1a3a5e6f8a505ff3b50146cd24fc2b9c
camera: Support for HTC's HDR mode

 * HDR was never actually working on CM because we did not instruct the
   camera to take all exposures. The HAL tells us that we'll get one
   JPEG, but we should snap 3 times. We handle this behavior in the
   framework now, but we should honor the num-jpegs-per-shutter value in
   the JPEG callback.

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