FW: Swipe to switch

Adds the ability to switch to/from Quick Settings, using a sideways
swipe gesture.
You can turn on or off this feature in RC.
Also includes this patch - http://review.cyanogenmod.org/#/c/30867/

Finaly updated, that swipe doesn't work if other toggle style is selected.

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

Change-Id: I930673565f2535a0a0058e1d4ff8b5fccf74c251
Merge remote-tracking branch 'upstream/jb-mr2' into HEAD