settings: Cleanup and add auto power profiles option

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

Change-Id: I9d8fd6720516e7fa321c05744ada81415cbf8aaa
(cherry picked from commit 8ad7910b3e519bbef44d2a873056c05b4509427c)