Hide the AM/PM preference completely if using a 24-hour clock

In addition, this commit also fixes a bug where the switch would not be
disabled on a fresh 24-hour clock install, as the preference value would
be null. This is avoided by using a higher-level method from
DateFormat to check the clock mode.

Patch Set 2: improve code styling

Patch Set 3: remove pointless application context retrieval

Change-Id: I80de938df61803649688723843439905e9909b07
Merge remote-tracking branch 'upstream/cm-10.1' into HEAD

Conflicts:
	src/com/android/settings/cyanogenmod/StatusBar.java

Change-Id: Ie69250834f88e148d6bc81c6fbc7cfe921d78467