Overhaul auto-brightness level UI.

This changes a few things:
- Don't imply a 'bucket' type of algorithm is used by showing an ambient
  brightness range for each line
- Allow manually entering the screen brightness
- Add a preview window for the cubic spline interpolation
- Add a help text

JIRA:CYAN-612
Change-Id: I64274280872b9fe4f6fdc368d654aca81e0a4e0c

Conflicts:

	res/values-af/strings.xml
	res/values-da/cm_strings.xml
	res/values-de/strings.xml
	res/values-el/strings.xml
	res/values-es/strings.xml
	res/values-fr/cm_strings.xml
	res/values-hu/cm_strings.xml
	res/values-it/cm_strings.xml
	res/values-ja/strings.xml
	res/values-ko/strings.xml
	res/values-nl/cm_strings.xml
	res/values-pl/cm_strings.xml
	res/values-pt/cm_strings.xml
	res/values-ru/strings.xml
	res/values-uk/strings.xml
	res/values-zh-rCN/strings.xml
	res/values/attrs.xml
	res/values/cm_strings.xml
	res/values/dimens.xml
Improve brightness curve preview

- Avoid log spamming
- Add a little margin around the grid so outer control points aren't cut

Change-Id: Idb6cd2773186f9e7011486dc62f21e2fab85e245
Correctly restore brightness customize dialog hierarchy.

This is especially important when rotating the device.

Change-Id: Iaf1ceb46943e9d0a171d6a75d3d446dbec205095
Fix NullPointerException at RunningState

getServiceInfo returns null if you have a service defined in the
manifest as: <service android:name=".Xxx" android:exported="false" />
or and in an <application> with no label or icon.
Dont crash the Settings application because of that.

Change-Id: I6f9f69c130e610b7e4ab66426177b7bade1e1515
Check if the Activity is finishing before showDialog()

Check if the Activity is going through its finishing phase before
displaying the Dialog, because Showing dialog once the activity
is no longer in context will cause BadTokenException.

Change-Id: I58940e694f61cd79536abe2df60a0b745a7b806f
Make menu item title and help text consistent.

Change-Id: Ia14fbb200fbc19bcdc654bd542dbe3ba15fbf6ea
Allow changing auto-brightness responsitivity.

Change-Id: Icf62db26735f9ab7ad63e750a1824eb7823c3d70
Settings: add google+ restart for TRDS

du that we finished the trds google plus app
because of one background
g+ needs to be restarted on trds toggle

Change-Id: If5212ea4e265fb01485c920118d1358ae68e7723
Revert "Settings: add google+ restart for TRDS"

This reverts commit 552edb9698b6cfdae0cf5a47039c2a9a7c7fc805.
Added some French translations.
Reword power sounds to power connectivity alert.
Update of some French Translations
Back icon in action bar of APN Settings

When entering the APN menu, the actionbar is missing a back
icon allowing the user to go back to the previous pane.

Added parentActivityName in ApnSettings, to enable action
bar back icon.
Merge pull request #6 from AirOne70/jellybean

Better.
Revert "Back icon in action bar of APN Settings"

This reverts commit e6365ff48451c964af87a2f03e7110460806a096.
No back icon in action bar of APN Settings

When entering the APN menu, the actionbar is missing a back
icon allowing the user to go back to the previous pane.

Added parentActivityName in ApnSettings, to enable action
bar back icon.

Change-Id: Iee8bb420f47c0e2c0d9a43739f534466abba30db
I love your errors, @AirOne70
Fail.
Fix FC of Stay Awake
Merge pull request #7 from AirOne70/jellybean

Some fix