[1/2] base: add custom hardware button mapping

Possible mapping

 0 - Nothing
 1 - Menu
 2 - App-switch
 3 - Search
 4 - Voice search
 5 - In-app search
 6 - home
 7 - back
 8 - toggle last app
 9 - kill app

Overlay required

depending on the number of buttons on your device

<!-- Hardware 'face' keys present on the device, stored as a bit field.
     This integer should equal the sum of the corresponding value for each
     of the following keys present:
         1 - Home
         2 - Back
         4 - Menu
         8 - Assistant (search)
        16 - App switch
     For example, a device with Home, Back and Menu keys would set this
     config to 7. -->
     <integer name="config_deviceHardwareKeys">7</integer>

PS2/3:
-whitespaces
-fix default back mapping
-cleanup debug log

PS4:
-added missing init of mPressOnHomeBehavior
-fixed home button derp

Conflicts:
	core/res/res/values/config.xml
	core/res/res/values/symbols.xml
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java

Change-Id: Id66e3ee43ef8834e771dfd98ff45ae628f5f755a
Status bar brightness control from CM10 (Frameworks portion)

Change-Id: Ida526bf19e56d549f7cc75c47466e6953295d888