SECURITY FIX: Fix package uids being reused between uninstall and reinstall of different packages.
Policies for older packages were being granted to the newly installed package that got the recyled uid.

Change-Id: I6c74cf6762e8da10e09d5cf5d94e9f826e47f24d
Merge "SECURITY FIX: Fix package uids being reused between uninstall and reinstall of different packages. Policies for older packages were being granted to the newly installed package that got the recyled uid." into cm-11.0
Settings : Fix accessibility shortcut

Shortcuts like accessibility, have preferences with titleText rather than
titleRes as their title. Settings only had a override for titleText, which caused
preference screens inside accessibility to not work. This commit addresses that.

Reproducable via :

1. Create a settings accessibility shortcut.
2. Launch shortcut and try to open an of the services

Expected behaviour : Appropriate ToggleAccessibilityServicePreferenceFragment should open
Observed behaviour : Same Settings instead gets relaunched instead

Change-Id: I89b7539672cd7278d51f9e88bac1948669940e59
Settings: Hide Development settings when it is turned off

This commit hides the Development and Performance settings items
when the user turns off Development settings. This sets things back
to tapping x number of times on the build number to once again enable
developer settings

Change-Id: I6003f73f5abee54bb000f01757ecffe7b68dba59

Settings: Make Perf settings act just like dev setting - start hidden

The Performance settings should not show until the owner of the
device enables development options, guest users should not be able
to turn it on.

Change-Id: Ib08d29bfd92ad44c71d02c115e12064ddf4704e0
Move Superuser header below Developer Options

Change-Id: Ica85aae0d3f06e6c5e837946cfc893d9e2f4fb7d
Settings: Move 'Advanced reboot' to other position

This commit moves the 'Advanced reboot' checkbox one item down
because it looks a bit strange as first element in the list IMHO.

Before: http://goo.gl/jhw8h
After:  http://goo.gl/X3H68

Change-Id: I26d4a5caba3e720b952ec405e200c1528f7a7321
Development Settings: fix setting reset on disable

When Development Settings are disabled, some settings are
reset to values other than the default. This fixes it.

 - No need to have resetAdvancedReboot(), as it is already
   reset by the "unckeck all checkboxes" logic.

 - Adb notify should reset to enabled

 - Verify apps over usb should reset to enabled

Change-Id: If5d88d220d2a17d6e172b2f54facd4afa3bae904
Merge remote-tracking branch 'cm/cm-11.0' into HEAD