libinput: port over JumpyTouchFilter from Gingerbread

 This is the 2nd commit message:

libinput: Introduce touch.filterTouchEvents parameter

Parameter will be used to decide wheter to apply filters to the touch
events of devices with bad touchscreens (such as bravo or passion).

libinput: Add applyFilters() and applyFiltersWithId functions.

Functions are called when filterTouchInput parameter is true.

libinput: MultiTouchInputMapper: hook up JumpyTouchFilter.

libinput: MultiTouchInputMapper: modify JumpyTouchFilter.

    - Drop more points when transitioning
    - Drop both coordinates when transitioning
    - If last event was hovering reset the dropped points count and
      do nothing

libinput: MultiTouchInputMapper: add BadTouchReleaseFilter.

When lifting one of two fingers on HTC Bravo's touchscreen an jump to
0x0 is emmited. The BadTouchReleaseFilter seaches for a jump like this
and replaces all points with the last ones.

libinput: rename LOGD to ALOGD

Change-Id: I50b74717edb0af082b067a552d6b10467c0eb3f2
frameworks/base: Increase Zygote preload GC threshold.

Increase Zygote preload GC threshold to half of the heapgrowthlimit,
to reduce boot up time.

Change-Id: I74a68a512c2266ac6e62f09f361f8607251ca9a7
SystemUI: allow dismissing the "Removed USB Storage" notification

*appears on grouper after removing the usb otg device

Change-Id: I1ebcdfcdd4e79b08a06e257c6974516970094049
Fix headset detection.

Original CM Commit below by Shelnutt2
Services.jar: Reworked computeNewHeadsetState function to
set state in a manor used in ics. This allows states such
as 129 and 130, which are used for 35MM_HEADSET to be
correctly registered as a new state.

Change-Id: I3bd1ec17d0cd184593edf330f482f09396785e76
Add headset icon