Settings: correct kernel version display for all toolchains

The current regex assumes only one set of parethesis eg. (GCC)
many toolchains including linaro and googles gcc-4.6 eabi contain
two sets of them eg. (prerelease) (GCC) which borks the regex

This patch makes the regex less specific so versions built with any toolchain
should be displayed correctly.

Change-Id: I40de6b729c252e61953dfe1860a660a0e5b06b3c
Add an option to change the device hostname (2/2).

This adds an option to modify the device hostname used
in ip resolution. This is useful when connecting to the
android device in a dynamic dhcp environment.

Change-Id: Ibc145b74036617248d4f33c6866cc9c8a8cc8974
Added build date (ro.build.date from build.prop) to device info.

Change-Id: I5e19ee04de5c26822e171d4af8f4bfc052be9b74

Conflicts:

	res/values/strings.xml
	res/xml/device_info_settings.xml
	src/com/android/settings/DeviceInfoSettings.java
Settings: Added cpu info and memory info to About Phone Settings

This is pulled from gingerbread. No code looked like it needed to
be re-done. This contains code from the following two commits.

shafty023<gameboy45@gmail.com>:
http://review.cyanogenmod.com/#change,1774

Keyan Mobli<persiansown@gmail.com>:
http://review.cyanogenmod.com/#change,1820

Patchset 2: Fix string constants
Patchset 3:
- Moved file paths to string constants
- Check for meminfo and cpuinfo files, if bad don't show preference
Patchset 4:
- Created variables for each operation.
- Wrote Long to print -1.
Patchset 5:
- Simplified and refactored
Patchset 6:
- Fix authorship herp derp
Patchset 7:
- Show only total memory, available memory would probably cause users to
  kill apps en masse.

Change-Id: Ib0550a5af515ae3a48481412c5c9c504cd80b743

Conflicts:

	res/xml/device_info_settings.xml
	src/com/android/settings/DeviceInfoSettings.java
Settings: Fix crash on phones with no navi bar

 * Navigation Bar preference is commented out in the .xml for now,
   the code tries to remove the preference when it's not there.

Change-Id: I7208eb739e02e3e9722f613c1de5f097587acdd5

Conflicts:

	src/com/android/settings/cyanogenmod/SystemSettings.java
Settings : Fix mismatched dialog listener

Set listener on correct dialog

Change-Id: I0c05af859ad0e93ba6a1d3d395dc6c31e9949426

Conflicts:

	src/com/android/settings/DevelopmentSettings.java
Fix NPE in InputMethodAndLanguageSettings

Commit 5555aae3 assumed mStatusBarImeSwitcher could never be null in
onResume().

Change-Id: I3bd5b7ecd9bfe9e1a69d553f70ecd3fc3d78c546

Conflicts:

	src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
Settings : isScreenLarge rewrite

Mimick how framework decides on screen layout to differentiate
tablets from phones.

Patchset 2 - Cleanup imports
Patchset 3 - Make the check more explicit
Patchset 4 - Rename isScreenLarge to getScreenSize

Change-Id: Icd90798ee7de62f5a1997820046608ea27e7835e

Conflicts:

	src/com/android/settings/Utils.java
	src/com/android/settings/cyanogenmod/LockscreenInterface.java
	src/com/android/settings/cyanogenmod/NavBar.java
	src/com/android/settings/cyanogenmod/StatusBar.java
	src/com/android/settings/notificationlight/ApplicationLightPreference.java
	src/com/android/settings/profiles/AppGroupList.java
	src/com/android/settings/profiles/ProfilesList.java
	src/com/android/settings/profiles/ProfilesSettings.java
Kill app on long-press back key (Settings)

Change-Id: I3962ffa89208de0449a6fa883070138d2990d569

Ported from CM9
Processor.java: Fixes and Cleanups

1: Fix issue where Processor settings FC whenever one of the /sys/devices/system/cpu/cpu0/cpufreq/* files is missing.
2: Cleanup for better overview.
3: No need to add empty content to disabled/removed elements.
4: Do not start the current cpu freq loop if the files needed are missing.
5: Also add the check for missing or empty files in the 'onResume' part.
6: Disable elements with missing files rather than remove them to maintain the layout.

Change-Id: Ib0cc3b01cbce368e23530760e2d87eedd04ad10a

Port from CM9 to CM10
Patch set 2  - Fix == false and != false

Change-Id: I874571fa9095546f27c0b908c4cafa0a8d14e0f3

Conflicts:

	src/com/android/settings/cyanogenmod/Processor.java
Settings : Customizable lockscreen targets

Activity icon      : Prash
ShortcutPickHelper : Based on Danny Baumann's work from cm7

Patchset2   : credits
Patchset3   : Whitespace cleanup (Thnx dvtonder)
            : Make shortcutpicker flexible between activities/fragments
            : Switch to queryIntentActivities
Patchset4   : Switch to resolveActivityInfo
Patchset5   : Bring settings up to speed with ux (David Van Tonder)
            : Fix dissappearing icon bug
            : Fix npe on packages w/o activities
Patchset6   : Fix npe's on tablet
            : Modify strings as per request
Patchset7   : Cleanup
Patchset8   : Custom icons
            : New dialog for customization
Patchset9   : Switch to dynamic id loading (Reset required)
            : Fix icon dissappearing bug
            : Fix lockscreen reading saved values bug
Patchset 10 : Add icon pack support
            : Bug fixes
            : New activated drawables
Patchset 11 : Code cleanup
            : Limit icon size in dialog

CM10 Port
---------
Patchset 1-4 : Initial port
Patchset 5   : Revert to CM9 drawables
Patchset 6   : Replace isScreenLarge

Change-Id: Ida9d9e8c1bf5970456a61a6602639a4cc6461212

Conflicts:

	res/layout/lockscreen_targets.xml
	res/values/arrays.xml
	res/xml/lockscreen_interface_settings.xml
Settings : Fix isPhone reference

Add missing argument to method call.

Change-Id: I51f46a1be166073dfb5c743b14fc994cff9b3ba5
Settings: Fix duplicate activity name

Change-Id: Id5b2b93f56540abcbb9e426240b7cb3b9b9d0a1b

Conflicts:

	AndroidManifest.xml
Settings : Lockscreen targets alignment fix

Add separate layouts for different layouts to fix alignment issues.

Change-Id: I2453225e8a683244a1e11f0a8d3c18954ba5885f