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.

Change-Id: I75588cbce9843e180e4be7591f6a43bcec788506
Gallery2: make panoramic focus mode configurable

 - 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: I81a69c7e9ce55037184ee7edd755f8c88507f781