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
Framework: Shake to Temporarily Secure && Fixes (1/2)

PS2: Reduce bloat, grab correct user
	Dependency
PS3: Rebase correctly
PS4: Tired of working these commits into eachother
	correctly, merge into this one commit.
	Fix simpin && face unlock
	Disable shake security if device admin
	requires screen security of any sort
PS5: Hack to fix double-inflation on boot
	registers a listener that stays alive
	until you shake
PS6: Better logic from introduction in PS5
        && make the initial feature enabled
        boolean check for security enabled
        before processing everything else
        without reason.
PS7: Fix potential issue with timer
        && shake staying registered.  Still
        retains accuracy of  without
        unnecessary processing due to
        PS6's security check.

Commit changes: Shake to temporarily secure
	Fix all lock-before-unlock issues
	Shake to temporarily secure timer

Lock-Before-Unlock issues fixed:
	On rotate, secure lock is shown without
		slider.
	On boot, secure lock is shown without
		slider
	Widgets aren't focused correctly if
		screen is turned on twice
		without unlocking
	Unlock target cut-off in landscape
	Smaller unlock ring size && mismatched
		bouncer size

Change-Id: Id6b0b85d2c7d086e1bd1199d7206b1e96b345328

Conflicts:
	packages/Keyguard/src/com/android/keyguard/KeyguardHostView.java