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)
Lockscreen Notifications: just scroll down in "showAllNotifications"
HALO: make windows moveable and scaleable [WIP]
HALO: fix scaling
Lockscreen Notifications: make offset top user configurable & add privacy mode [1/2]

Conflicts:
	core/java/android/provider/Settings.java
Add NFC QuickSettings Tile
Make the quicksettings tiles span more dynamic

Instead of starting a new tile row, set the top tiles span to 1.
input: Add option to toggle pointer icon when using stylus

* The visible pointer icon when hovering or drawing with the stylus is
  quite annoying when trying to actually draw with it. Turn it off by
  default and add an option to turn it on.

Change-Id: Ib7f23e8b69589e3f875d150caf05065b64676e44

Conflicts:
	services/input/InputReader.cpp
	services/input/InputReader.h
	services/jni/com_android_server_input_InputManagerService.cpp
Quick Settings: Swipe to switch

Adds the ability to switch to/from Quick Settings, using a sideways
swipe gesture.

Video demonstration: http://www.youtube.com/watch?v=jZaDVBIFAuA
(Video for the initial Patch Set only)

Patch Set 2: Flip animation follows your finger
Patch Set 3: Fix commit message
Patch Set 4: Fix commit message (again)
Patch Set 5: Pin down the statusbar during swipe
Patch Set 6: Smooth out animation after releasing swipe
Patch Set 7: Swipe in any direction to switch views
Patch Set 8: Ensure the statusbar is properly pinned down
Patch Set 9: Fix logic and event handling issues
Patch Set 10: Refactor for readability
Patch Set 11: Limit swipe detection to the bottom bar

Change-Id: I3cab45f72fe3c5fa40d4631fc6a84ea7bfe51bd1

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
BluetoothManagerService: fix enabling/disabling BT from Quictsettings under second user,

Change-Id: I8173559b2c734968ef4a8d86fddaa3a73d5c2b1e
Remove the navigation camera icon in keyguard if disabled by DPM

The logic here is incorrect: the camera shortcut is/should be accessible
even with a secure lock screen. As a result, a device with the lock
screen camera disabled by DPM and an insecure lock screen would still
display the unfunctional shortcut.

Change-Id: If1d172932c6c2af596c38e623521c992fdf95402
Lockscreen Notifications: Fix possible NPE
Lockscreen Notifications: make width dynamic (WRAP_CONTENT)
Revert "input: Add option to toggle pointer icon when using stylus"

This reverts commit 82f6fe6aa2181d682b56c140a4bd86b6b2bf5de4.
InputMethodManagerService: fix npe which was causing soft reboots when activating voice

Conflicts:
	services/java/com/android/server/InputMethodManagerService.java
Lockscreen Notifications: make animations a bit faster
Fix NFC tile not showing on reboot
Merge branch 'kitkat-test' into kitkat-themes

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