[1/2] base: Add ADB Paranoia mode

ADB Paranoia mode will reboot the device in the event of the following:

- The device is locked
- An ADB master device is connected
- ADB Paranoia mode is enabled in Development menu

Used in conjunction with device encryption, this should offer decent
protection against malicious adversaries with basic physical access to
your device. This will not help if your device has hardware level
exploits that can be used without rebooting the device, and without
connecting ADB.

Change-Id: I339d0bdf08ebe2d2c9096718d234ea7d396f3a98
[1/2] Base: recover last location state during on/off switch

Based on this SlimRoms commit:
https://gerrit.slimroms.net/#/c/1421

Settings: https://gerrit.omnirom.org/#/c/4875/

Change-Id: Ia2484c9266d0276fd2d8bd0dc160487422e6063d
Merge "[1/2] base: Add ADB Paranoia mode" into android-4.4
SettingsProvider: allow TETHER_DUN_REQUIRED to be overwritten

Allow overwriting of the default TETHER_DUN_REQUIRED value with
the build property 'ro.telephony.tetherdunrequired'

Recognized values are:
0 for not enforced
1 for enforced
2 for undefined (default; behaves as enforced)

Change-Id: I77c87230b54418ee5c385e5a7effd304a9743990
Merge "[1/2] Base: recover last location state during on/off switch" into android-4.4
Merge pull request #1 from omnirom/android-4.4

Merge omni