Framework: Add support to enable/disable Electron Beam (1/2)

Parts were brought over from CM9 but not all of it.  This completes
the port.

Change-Id: I2ab24581ca775ec7af3eecf7e1dcac72c91e3124
Merge "Framework: Add support to enable/disable Electron Beam (1/2)" into cm-10.1
Pie controls: Fix event handling on chained input filters

Enabling accessibility helpers like "Magnification gestures" while
pie controls are active will result in a system reboot. After this
every input event (touch/key) will cause a system restart directly.

This commit fixes this, by making semantics for
sendInputEvent() with one filter equal to the case where more than
one input filter is installed.

Change-Id: Ie8a319e8c9a63c82c77122332c7d5dd71672cc75
Merge "Pie controls: Fix event handling on chained input filters" into cm-10.1
merge changes from remotes/github/cm-10.1 into master
Frameworks: Advanced low battery indicator options (1/2)

Based on a idea I saw on Liquid and from CR3C0 (thanks guys) which we
modified to an extended version

This commit introduces following new SlimBean modes to indicate low battery

     * 0 = show dialog + play sound (default)
     * 1 = fire notification + play sound
     * 2 = show dialog only
     * 3 = fire notification only
     * 4 = play sound only
     * 5 = none

Due that notification is a unique SlimBean feature some words on it. Notification
behaviour is the same as Pop-up. User can dismiss it manually or it is
dismissed automatically if charger is connected, click on notification opens
PowerUsageSummary. Also you get a status bar ticker message about the notification
and notification is always on first place of list. And last if vibration is enabled
notification vibrates.

Patchsets:
 - codestyle corrections

Patchst
 - add PowerUsageSummary intent

cheers

Change-Id: I84476626b0ff5424454a1132ea4ef77a696070c1

Conflicts:
	packages/SystemUI/src/com/android/systemui/power/PowerUI.java
Configurable Notification Behavior [2/2]

Credits:
- Michele Primavera
- mnm9994u (SlimRoms)

Change-Id: Ibb6bd69d4df0bdd664a88213aaab0385ac33a139