Forward port "Add an option to change the device hostname."

Change-Id: Ibc145b74036617248d4f33c6866cc9c8a8cc8974

Conflicts:

	res/values/cm_strings.xml
AppOps: Add advanced menu link from privacyguard

Forward port from cm-10.2

Change-Id: I09b06eca34366526e5b1cd39763f31414e93a0c0