[1/2] Base: Configurable rotation

Configurable rotation modes -
- 0 (portrait)
- 90 (landscape)
- 180 (upside down)
- 270 (landscape)

Also move the option to enable/disable auto rotate to display settings from accessibility settings if device supports it.

Settings: https://gerrit.omnirom.org/#/c/4527/

Change-Id: I311b14754702831197c007e4dfe42d8523b970c6
[1/2] Base: Lockscreen Notifications

PS11:
    Lockscreen Notifications: several fixes

    - fix notification not responding when removed and added in a short period of time (e.g. gravity screen start/stop)
    - just unlock screen on notification click when there's an activity to start
    - fix notification hide animation
    - just wake screen on reposted notifications when it's not ongoing (wake on notification before made the device stay awake for ever when a download/countdown or something similiar was running)

PS12/13:
    Lockscreen Notifications: Bring inline with AOSPAL implementation
    Lockscreen Notifications: Fix possible NPE
    [1/2 ]Lockscreen Notifications: make offset top user configurable & add privacy mode
    Lockscreen Notifications: Copyright
    Lockscreen Notifications: just scroll down in "showAllNotifications"

PS14:
    Lockscreen Notifications: Fix recognizing of settings update

PS15:
    Lockscreen Notifications: make width dynamic (WRAP_CONTENT)

PS16:
    Lockscreen Notifications: make animations a bit faster

Change-Id: I342b9fa6266c4c64f04121a8a2938de6532082b4

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