Settings: Make Safe headset volume handling user configurable (2 of 2)

Patch set 1  : Initial commit
Patch set 2  : Code cleanup and dedupe

Change-Id: I9d46ba5b8ca5a8b18dcb4856c348c86bc3e70899

Tweak a little for my rom

Conflicts:
	res/values/strings.xml
	src/com/android/settings/SoundSettings.java
rename rate control mms to sms
Settings: Fix the SMS Limit setting location

We were saving a Settings.Global setting using Settings.Secure.putInt
this commit fixes it.

Change-Id: I00bb39a8798e66fb4db779bdd450bbc60657676a
increase available limit to 400, change limit summary to cm version