Camera2: make panoramic focus mode configurable

 - Port from cm-10.2
 - This allows for device maintainers to switch between
   INFINITY and CONTINUOUS_VIDEO focus modes.  Some devices
   do not support INFINITY so the image and preview are both
   out of focus.

Change-Id: I714ad4dc6c329565b9620ff12ebb830555a5d1ef
camera: add support for samsung and htc camcorder modes

Change-Id: I56739157380f596c9f3bbbe7aecd8f532d619c72

Conflicts:
	res/values/config.xml
camera: allow setting video-size before recording starts

Needed for some samsung cameras.

Change-Id: Ia0f5716d5e6815d249040b08313482a103a36863
camera: Add options to better control video preview size

 * usePreferredPreviewSizeForEffects is needed to fix camcorder effect on
   some MSM8660 devices.
 * Add ignorePreferredPreviewSizeForVideo to use the best size reported
   by the driver instead of the preferred-preview-size-for-video value,
   which may report something really awful.

Change-Id: I216502fe032a89f69e1aea11bc50c51634d40991
camera: Add ZSL support for Samsung/Qualcomm cameras

 * Preview management for Samsung/Qualcomm cameras

Change-Id: Ib36bd21c9a76b45bced3eee2f25acc35b5d82b30