StockMode: bottom-to-top overhaul

I look forward to seeing stock mode do more than restore the stock globalactions menu and hide preferences...
but these bugs couldn't wait for that to happen.

CHANGES MADE:

-Make GlobalActions changes and DevelopmentSettings changes take effect IMMEDIATELY when the switch is thrown... not after leaving and re-entering it.

-DON'T tie stock mode to development option switch... They are adjacent to one-another, and completely different things.
    if somebody enabling stock mode wanted to hit the development switch, I'm sure they could do that themselves without too much undue exertion.

-DON'T change any settings that we can't restore when the switch is turned back off.
    all this feature does, is disable settings headers... UNTIL a means of storing the present "non-stock" values before changing them is added.

-renamed variables for readibility and sharedprefs for a clean slate (primarily for my fellow serial flashers)

-used conjunctions to reduce the number "else if"s added by StockMode to updateHeaderList from 3 to 1

-remove unnecessary gets and sets for the shared pref and the system.secure setting

PS2 & 3: remove two outdated booleans from when i was figuring out how to disable the location header
     switch.  fixes build. Also, updateRebootDialog() on Stock mode toggle. fixes reboot menu preferences updating on toggled. - Prime

PS5:     fix un-disabling of development settings when stock mode toggled off
         add kill app long-press and adb over network checkboxes

Change-Id: I7b7cc876bd268013da6dbeb35db144c7e1a2e109
Revert "remove duplicate settings from merge"

commit breaks handling what to show  of disabling the lockscreen
was missing a block of code relating to slidelock timeouts

I restored the mQuickUnlock code, which had been left out in the commit this reverts.

This reverts commit feca1a166e40d611e277570bba811783ea06e2bc.

Change-Id: Iad87461b5e02aac8014c6a2c84a3f48936317c0c