camera: add support for samsung and htc camcorder modes

Change-Id: I56739157380f596c9f3bbbe7aecd8f532d619c72
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
 * Add workaround for broken face detection on front camera

Conflicts:
	res/values/config.xml
	src/com/android/camera/PhotoModule.java
	src/com/android/camera/util/CameraUtil.java

Change-Id: Ib36bd21c9a76b45bced3eee2f25acc35b5d82b30