Squashed commit of the following:

Summary:
commit 61fc0347bc0c94ef6e220761ecebb0b130597429
Author: Volker Braun <vbraun.name@gmail.com>
Date:   Wed Jul 4 22:29:13 2012 +0100

    Disable touch while using the stylus (Galaxy Note)

    Android 4.0 cannot form multitouch events from multiple input
    devices. So it is not possible to report one touchpoint from the
    stylus position and, at the same time, another touchpoint from a
    finger touch. Instead, when a new input device starts up the currently
    active input is cancelled. This is highly undesirable while writing
    with the pen.

    The easiest solution is to ignore non-stylus touch events while the
    stylus is within range (hovering) of the touchscreen. For example,
    N-trig digitizers implement this in hardware. But wacom digitizers do
    report pen data simultaneously with touch data. This patch disables
    (non-stylus) touch input within 50ms of stylus data. On my Galaxy
    Note this is necessary to make stylus input usable.

    Change-Id: I9f458d85d8bf83d6cf03b467d46ce066fd55b7e0

    Conflicts:
    	services/input/InputReader.cpp
    	services/input/InputReader.h

commit 54c82106640fd454c4d5daf19b72ba51f4c3a69d
Author: Steve Kondik <shade@chemlab.org>
Date:   Sun Jun 3 07:27:20 2012 -0700

    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

    Conflicts:

    	services/input/InputReader.h
    	services/java/com/android/server/input/InputManagerService.java
    	services/jni/com_android_server_input_InputManagerService.cpp

commit bb8bce0bb181ea64d141fe40fc741800024859ee
Author: masiullah <masiullah@gmail.com>
Date:   Sat Jul 14 19:05:57 2012 +0530

    Stylus gestures features (1/2)

    Summary:
    Forward-port of https://github.com/CyanogenMod/android_frameworks_base/commit/9f3ee9f7c0877fcfbe90a7c176481f949194fb75
    to JB

    Change-Id: I9c8a03dce226d2463659846ff3a12435efdf5c1d

    Test Plan: no effect on non-stylus devices, test on Note 8

    Reviewers: synergy

    Differential Revision: http://review.codefirex.com/D44

Test Plan: test and merge

Reviewers: synergy

Differential Revision: http://review.codefirex.com/D47
[1/2]Hardware Keys: Bring in long press Back to kill app from CM, Thanks CM!

Summary: Porting in longPress Back button to kill current app from CM. Adds config overlay to allow adjustment of longpress time. This adds some additional logic from CM that duplicates some features we have for softkeys already. This can be cleaned up if,when we merge hardware/sofkey press logic together

Test Plan: Confirm Win!

Reviewers: synergy, randall.rushing, anders3408

Differential Revision: http://review.codefirex.com/D48