Always use recording dimensions for preview

Some devices, like apexq, require the preview dimensions to be the same
as the recording dimensions.

Change-Id: I307fb4c0d4df37abe0a045a69693f480022fc597

Conflicts:
	res/values/config.xml
	src/com/android/camera/VideoModule.java

	modified:   res/values/config.xml
	modified:   src/com/android/camera/VideoModule.java
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: fix panorama preview on older devices

When PREVIEW_FBO_WIDTH_SCALE is set to 4, the preview FBO becomes
larger than older GPUs can handle. Detect it and reduce the value
to 2 like on pre-KitKat releases.

Change-Id: I20785d157bed48816820476d066ef9d4a9f73672