Re-implement orientation aware volume buttons at lower level

Rework of http://review.cyanogenmod.org/31979

Fixes:
1. inconsistent volume button behaviour depending on app in use
   - the buttons not swapped for some NDK/OPENSL ES apps like
   e.g. MX Player
2. the function of volume buttons on external input devices like BT/USB
   keyboards should not be affected by the main unit orientation

This commit finishes http://review.cyanogenmod.org/18273 - use of system
property has been replaced with config push via JNI as suggested during
the original review.

Patch Set 2: Circumvent the need for "keyboard.orientationAware = 1" idc
Patch Set 3: Don't leak implementation details outside InputReader

Change-Id: I19cc60cb0acb0005ab13fa069f52e3d468d694e7
InputDevices: CA translations

Change-Id: Ide9e03fb72e8f4684267afbc7bac920e5e9e4503
SystemUI: IT Translation

Change-Id: I77bddd80011ff9af132095cbb07768068263deb3
SystemUI: EL translations

Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

Change-Id: I9fe8ca062ad34633eeb6429837057beed2d0c0cb
Merge "SystemUI: EL translations" into cm-10.2
Merge "SystemUI: IT Translation" into cm-10.2
Merge "InputDevices: CA translations" into cm-10.2
Merge "Re-implement orientation aware volume buttons at lower level" into cm-10.2
SystemUI: Ignore lint check ProtectedPermissions

Change-Id: Idf8ccd37cfb02e6da136187eb872e97e22b158e6
LockScreen: allow hardware key longpress to put device to sleep

Change-Id: I54260e21c462bcabd9b6383e22f44d644630b4d3
lockscreen battery status: add off option (2/2)

Change-Id: Ie10015865f161e783dc394d467e456d51dc9fbbc
Allow theming of lockscreen

Change-Id: I10799482e0b393746b4c9818f94862109fac6006
SystemUI: Remove obsolete layout params (fix lint warning)

Change-Id: I41f688c9a351189c9929dc1f4947c0124820f5ad
Add Motorola EMU audio dock jack sensing support

Don't route to dock output just because the device is docked.
Let the actual jack presence to control it.

Change-Id: I4066d08b1aa58ead39aad9410b9dd71624776187
KeyguardViewMediator: Play lock screen sound sooner

When the screen is locked, there is a long pause before the lock
sound actually plays.

This makes that sound happen much sooner.

Also modified Lock.ogg slightly to remove the initial silence.

Change-Id: Iede7a5d22291d1ada98800d2b380c255547df61d
Camera button support (1/2)

Add new bitmask for Camera button and "hasCamera" boolean.
For those devices that have dedicated Camera key
(like Sony ZL/ZR/Z1/...)

Change-Id: I1a6681664f9f3fd3f30221ba10b082cb5f8cafca
Camera button support: make it actually work

Previous commits were merged so fast that I didn't even
added the code that actually DOES launch the camera.
Let me fix that.

Change-Id: I4fcb3c46e5fd50e273dcf19fd3eb35a3f9d979e0
Merge remote-tracking branch 'upstream/cm-10.2' into cm-10.2