Camera: revert CodeAurora's panorama angle handling

I'm not sure what the code is trying to fix, but break landscape
devices' panorama display

Ported from cm-10.2

Change-Id: Ifa922b043f578353b778065e2123005a57185dfd
Camera: fix preview for landscape devices

Landscape devices have broken preview because PORTRAIT mode is
being abused to check for screen rotation. Use proper rotation
check to fix.

Ported from cm-10.2

Change-Id: I75588cbce9843e180e4be7591f6a43bcec788506
Camera2: More thorough compatibility fixes

Certain chipsets (such as omap) have contrast, sharpness and saturation
set, but no max integer given for those

Change-Id: I58efaef4d0a511aefc803a440e0c3aa3dbdc9483
Camera2: fix FC when switching camera in video mode

mFocusManager's manager needs to be updated before startPreview,
otherwise setParameters will be called with an invalid preview
mode resulting in a crash on some device (in this case, aries).

Change-Id: I32c113e744f95b4939c070b3aad8b4b5c53fce65
camera: Actually fix ZSL :)

Change-Id: I921c10e2dfd8694fc13ba8bc9def59c498322f4f