camera: Clean up code for restarting the preview

 * Fix another ZSL hang and remove redundant code.

Change-Id: I8075829bfc82bc94a8ae8d49234cecc4e3ca1faf
Camera: Add supportsOrientationResizePreview configuration

Current orientation resize preview patch is broken some devices (xe: tf700t). This patch adds
a new configuration for device that doesn't handle properly the orientation resize preview
detection.
Also, the patch adds some styling fixed:
- Avoice call requestLayout twice
- Avoid create variables if mOrientationResize is not going to be used

Change-Id: Ia8ad7a58b9418eedc5edde6b23eb995f5ecfdabd
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Merge remote branch 'cm/cm-10.1'