Camera button support (2/2)

Add new bitmask for Camera button and options to rebind
its functionality.
Change-Id: I803d3b99adcdd6f2d9de15091709fc8c783ed5de

Add missing variables for camera button handling
Change-Id: I40abd4344800e8cf61285923cc1fac9ba39d652c

Camera button support: fix FC
Fixed a typo in xml which caused Settings FC.
Change-Id: I0c01d03cc8effde9d8422e091a7389dcbb59ffa5

Camera button support: fix another ^C^V fail
Yes, that was merged way too fast...
Change-Id: I88243887446876de39e79020e6d8fecc6351bdde

Camera button support: useful features & bugfixes (2/2)
Screw the remapping, let's make something more useful!
Replaced the code to actually launch Camera app, not just fire the shutter.
I won't remove it: it's cool to have an option to double-click Home for Camera.
Added:
  * Camera wake (with button half-press) and unlock options
  * "Peek": releasing the half-pressed Camera button will
    turn the screen back off
  * Camera playback control

// AOSPA-LEGACY EDIT -- REMOVE CODE RELATED TO KEYGUARD/SECURITY

Change-Id: I711fe6b1a8d304b3d0ba9682a8757605992e1bde

Conflicts:

	res/values/cm_strings.xml
	res/xml/security_settings_cyanogenmod.xml
	src/com/android/settings/SecuritySettings.java

Conflicts:
	src/com/android/settings/cyanogenmod/ButtonSettings.java
Remove 'Allow custom buttons' checkbox (2/2)

Let hardware buttons be rebound by default.

Change-Id: If19fb357cf9dcea419bea6242f4fc1f388916e4d

Conflicts:

	res/values-ca/cm_strings.xml
	res/values-de/cm_strings.xml
	res/values-es/cm_strings.xml
	res/values-it/cm_strings.xml
	res/values-lt/cm_strings.xml
	res/values-nl/cm_strings.xml
	res/values-pl/cm_strings.xml
	res/values-pt/cm_strings.xml
	res/values-ru/cm_strings.xml
	res/values-th/cm_strings.xml
	res/xml/button_settings.xml