Fixed aapt warnings

Change-Id: I35389697266b3ec59a38b4142a8983d0a8cc31ac
lights: Add framework support for additional lights

Change-Id: I4d12ee16e11ab584b102b7114ba3647336efc988
Phone: Sprint MWI Quirk: Phantom message wait indicator workaround (2/2)
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
AOKP Settings

First try on adding a seperate AOKP settings table.

Patch Set 4: Fix Bootloop
Patch Set 6: always try create to create the AOKP table to
             avoid changing the versioning and future merge issues
Patch Set 7: Revert back to create the table in the latest version
             handling code. This means when coming from an earlier
             version it is handled correctly. Everyone else needs
             to wipe.

Change-Id: Ia058c31eab71be47f85e225e763218500b523ae6
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
Merge branch 'kitkat' of https://github.com/AOKP/frameworks_base into kitkat