Fix scrollbars appearing out of place in Superuser.

Change-Id: Ia206623716192e479901c02cf94de84a29e0479e
Fix exception on rotation.

Change-Id: I6cc653db3397074fb1cd9aa12b06511ce2cc3c9d
JIRA:CYAN-731
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
Settings: Fix color picker ComposeShader view

The shader was not showing the proper combined gradients.  This is a
limitation of the ComposeShader in Android 3+ and has to do with the
hardware acceleration as described here:

'ComposeShader can only contain shaders of differenttypes (a BitmapShader
and a LinearGradient for instance, but not two instances of BitmapShader)'.
But, 'If your application is affected by any of these missing features or
limitations, you can turn off hardware acceleration for just the affected
portion of your application by calling:
    setLayerType(View.LAYER_TYPE_SOFTWARE, null).'

Change-Id: I8d945e37ed97c409a0cc7e9ec5570019545f0f68
Settings: RTL layout fixes

Replaced Left with Start, and Right with End to fit Google's new RTL API.
Replaced setPadding with setPaddingRelative (which uses Start and End instead of Left and Right) around switches to make them look right in RTL UIs
Added RTL Support to LinearColorBar in order to make App Management's storageBar compatible with the RTL UI.
Reversed App Management's ViewPager in RTL langs
Fastscroll aligned to the left

Change-Id: I495f4794a9861fa01692d766ef86f4fdd8e4b38d

Conflicts:
	res/layout/lockscreen_shortcut_dialog.xml
	res/layout/lockscreen_targets.xml
	res/layout/pick_item.xml
	res/layout/qs_tile.xml
	src/com/android/settings/DevelopmentSettings.java
	src/com/android/settings/nfc/AndroidBeam.java
	src/com/android/settings/wfd/WifiDisplaySettings.java

REVERT ME IF LAYOUTS LOOK WEIRD!

Conflicts:
	res/layout/preference_dialog_increasing_ring.xml
	res/layout/preference_dialog_ringervolume.xml