Merge Navigation Bar and Pie Controls button config (1/2)

Based on the commit series for pie controls, this commit
makes the Navigation Bar and Pie Controls share
the same button layout. However, there is no button layout
editor for pie controls, which makes the navigation bar
the leading entity when it comes to button layouts.

This commit introduces:
* A common notion of navigation buttons used in CyanogenMod.
  (class NavigationButtons)
* Some setting constants changes to avoid clashes with PA.
* Removal of the pie search key, since it is no longer needed.
* Sophisticated key event injection.
* Virtual key sound effect

Change-Id: Id68f8d0b597d7d89c55c3f66f994e632d014f006
Merge "Merge Navigation Bar and Pie Controls button config (1/2)" into cm-10.1
SettingsProvider: Initialize defaults for CM features

Add configuration defaults for:
- status bar notification count
- QuickSettings quick pulldown
- lockscreen targets

Change-Id: Ief4b97fcceea7e351a13d59136a2fb1823d97b04
SystemUI: Fix build warnings

Change-Id: I3493428eb5192bf39b31bf8a5c66406660af1aca
Merge "SettingsProvider: Initialize defaults for CM features" into cm-10.1
LockPatternUtils: isSecure: respect profile settings

When the lock screen is set to secure and overridden to insecure
by profile settings, isSecure() would return true causing confusion
to some code.

For example, attempting to use a lockscreen shortcut
to launch an activity will cause the device to soft-reboot due to
recursive calling and a stack overflow.

Change-Id: I02984671c2a047765f4da1f6a44bb19dea5bf2d3
Profile: respect DPM when overriding screen lock (1/2)

Profile currently allows the user to override the keyguard set by
device policy, which is undesired.

Change-Id: Id8d80cfdad51ca0a64dc231a77e53b104ecb9825
Merge remote-tracking branch 'upstream/cm-10.1' into cm-10.1
Revert "Merge "Merge Navigation Bar and Pie Controls button config (1/2)" into cm-10.1"

This reverts commit 2f9b1f02e016e1070f3bbcc70aed758325cc1880, reversing
changes made to 675432c81c82a8d6509ba13f6d6e38c74e603330.
QS: Add dock battery tile (1/2)

Add a dinamic tile for devices with dock battery

Patchset 2: New icon set
            Rebased

Change-Id: I5e0e84da0b0f248fa9eb568c5d506b00cf3998b0
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Merge "LockPatternUtils: isSecure: respect profile settings" into cm-10.1
Merge "Profile: respect DPM when overriding screen lock (1/2)" into cm-10.1
Merge remote-tracking branch 'upstream/cm-10.1' into cm-10.1