settings: Cleanup and add auto power profiles option

 * Add categories for all items
 * Add helper class for Settings.Secure

Change-Id: I9d8fd6720516e7fa321c05744ada81415cbf8aaa
Merge branch 'kitkat' of github.com:X-ROM/android_packages_apps_Settings into kitkat