Quicksettings: Bring up to date with CM implementation. [1/2]

Cherry picking and merging was not an option as those methods
resulted in other things being added that we do not have in
ChameleonOS.  The code and resources in this commit were taken
from CyanogenMod using BeyondCompare to minimize the conflicts
and avoid additional code and resources getting mixed in.

Change-Id: I4bbd71f22f94688f23db7785db2ea5f0f1993dc3