Revert "Revert "add configurable headset hook to buttons""

Apparently, it was working as intended... woops! :-D

This reverts commit aa2aba5429305f041cbdbc097c1aeaa40eb5c45c.

Change-Id: I081570a59767bd78061b55aa24abf03b3553139f
ButtonSettings: In-line headset button: CheckBoxes have 2 states. Let's act like they do.

Change-Id: I9bdcc868b36445d71674babb8a31d0bd413c1155
ButtonSettings: return before returning super's onPreferenceTreeClick's return value.

Change-Id: I3a2c55c0722ea243a88f6aec9c105b11b9fe18c8
ButtonSettings: Consolidate some redundant CheckboxPreference handling click code, and inline a method called from one place.

Change-Id: I1e0da859d5fed002064bb88dfb5539623b429ca3
Unbreak PIN/Password lockscreen options

Change I0211deea61b2d5b048deb118c30fc1397a56d3ee slightly changed
the validation conditions for this case, fixit.

Change-Id: I6219f47f4b0acb87b5d8d4a121480b09a8aa12b2
Merge remote-tracking branch 'cm/cm-11.0' into HEAD

Conflicts:
	src/com/android/settings/SecuritySettings.java

Change-Id: Ided4a0d829df5dd547ec1022622b3a1e98b74946
Merge remote-tracking branch 'vanir/kk44' into kk44