Add Smart Capture

This adds ability to capture Photo/Video using the
ambient light sensor on the phone. Hence alleviating the
need to touch the device and cause movement in the
image/video.

Smart Capture in action: http://goo.gl/OfaY1

Change-Id: Iab1b2bf4cbde2cc00bd132b2770eda07f8580a22

Conflicts:
	res/values/strings.xml
	res/xml/camera_preferences.xml
	res/xml/video_preferences.xml
	src/com/android/camera/ActivityBase.java
	src/com/android/camera/CameraSettings.java
	src/com/android/camera/PhotoController.java
	src/com/android/camera/PhotoModule.java
	src/com/android/camera/VideoModule.java
Add TrueView

This commits adds the ability to show the complete image sensor frame
rather than the cropped preview used by aosp to fill the entire
screen.

Change-Id: I0b42001455777f161f6c6829a6d095021b42a387

Conflicts:
	res/values/strings.xml
	res/xml/camera_preferences.xml
	res/xml/video_preferences.xml
	src/com/android/camera/CameraSettings.java
	src/com/android/camera/PhotoController.java
	src/com/android/camera/PhotoModule.java

Conflicts:
	src/com/android/camera/PhotoModule.java
Fix Derp

Change-Id: Ic69a65438c498da929949781b3a4bb375097316b
Fixed Defaulting

Fixed multiple issues that caused some preferences
to defaul to wrong values due to confusion between the
capital and regular strings!

PS 2+3 : DERP!

Change-Id: Iee4f37e3160bab16354d9556f38fbf05e7e125bf
Camera: fix up some stuff

this commit fixes
- do not register proxy listener 2 or 3 times
- after stopping the listener do not reactivate it on camera
  when it exits or is onpause
- update on onchangeorientation settings

cheers

Change-Id: I21a9dc9e7e2914e65a57579fa9eec75657e423cd

Conflicts:
	src/com/android/camera/PhotoModule.java
Don't mess around with pref local ID for common settings initialization.

It confuses the pref initialization, causing the back facing camera resolution
being overwritten by the front facing camera resolution.
Instead, make the foll. global (camera independent) setting.

- Power Shutter
- Storage
- TrueView
- Smart Capture

PS: Borrowed partially from CM

Change-Id: I1038ca4afb57bb6e0ccf81cbdd998c2ce8fce0b0

Conflicts:
	src/com/android/camera/ActivityBase.java
	src/com/android/camera/ComboPreferences.java
camera: reset camera surface on previewstart()

fixes aspect ratio on camera switch bug

JIRA: CYAN-1085

Change-Id: Ic91e0454588a987e72e5336ab9d01bdd249f13e6
Fix Derp

Change-Id: Ieab9c08aa40fcf08c6712dd7eb1d82b72b1ab20b