Don't try to restore Set on Boot settings before decrypting

If encryption is enabled, BootReceiver will not be able to find
the performance preferences and set sys.{cpufreq,iosched}.restored
to true, inhibiting the second invocation after decryption from
doing so (because it thinks that the settings were already restored).
This patch fixes that by not attempting to restore settings while
/data is not yet decrypted.

Change-Id: I8bfe1cda856f344995e5528ebfb9c894701b395e
(cherry picked from commit b5f7f22ffa5bd46ae34201fa14898bb8af6eda08)
Automatic translation import

Change-Id: I705ae50cb4b345f56509ee00ceefbeb138f5a4a0
(cherry picked from commit 782e777f0fc4dff853bbece9927d1cc1bb10e4cb)

Conflicts:
	res/values-zh-rTW/cm_strings.xml
Settings: StatusBar Ticker (2/2)

PS: MIspeeliings.

Change-Id: I02cf9192c3ba62111a41e7da52cf4c343a589392

Rebased to temasek build

Conflicts:
	res/values/slim_strings.xml
	res/xml/profile_config.xml
	src/com/android/settings/slim/StatusBar.java

(cherry picked from commit 0556b6599a3c267bbca0c94a7813903df79f1fac)

Conflicts:
	res/values/cr_strings.xml