Settings: Forward port CM Screen Security settings (Part 1 of 2)

includes:
- Menu Unlock, Quick Unlock, Home unlock and Slide lock delay settings
  Author: DvTonder

- Lockscreen cleanup: Rework the logic to separate cm lockscreen
  settings from stock lockscreen settings.
  Author: Danesh M
  Id: Ic3eebc30fbb55afa6254889b17bde6e3083d1847

- Fix unknown sources crash
  Modify logic to only make cmsecurity specify the extra,
  any other time, default to stock security
  Author: Danesh M
  Id: Ida4b8ccc2f41d79aa9013029b4245ae4d3cd4496

- Adjust available options based on screen lock picked
  Disable / enable the available screen security aditional options based
  on what screen lock was picked.
  Author: jfassad
  Id: I634b18b58d0e1a1c075f9808776fc4f685316221

- Add home button unlock option
  Author: invisiblek
  Id: I10b96b2f788ca26bc45f1758e612b9dfe7beff59

Change-Id: I0dda524830d8dce571910eb1fbd66d5b5af11bff

Conflicts:
	res/values/arrays.xml
	res/values/strings.xml
	res/xml/app_restrictions.xml
	src/com/android/settings/SecuritySettings.java
Settings: Forward port Change behavior when back pressed in PerformanceSettings

When back key pressed, finish this activity if user does NOT accept 'Ok'
in warning dialog rather than show it.
Id: Ied763db4f76a3a2a36f134bd93a0f18047c6cf5c

Change-Id: I07d41d43d00e4fb42ad526d27ee9188d830906ea
Settings : Switch state fix

Since the switch views are shared, we need to recreate them
in order to prevent from being reused as they don't share state.

Change-Id: I4d7038f37883e1791c8c2b0009f0adb85ebb2b88
migrate vibrator to silent mode settings (2/2)

Change profiles:
* remove deprecated vibrator settings
* add silent mode settings

Available modes:
* off
* vibrate
* silent

Patch Set 1:
Initial patch with plain ListPreference

Patch Set 2:
Use Checkbox + Dialog like ConnectionSettings

Patch Set 3:
Rebase

Change-Id: I227f8b00f8dc17f06c8de6716c0f34b2faf82e2c
Makes the add button for new APNs appear in the action bar.

The APN add button (a plus sign) now appears in the action bar if possible. The APN list interface is now more consistent with the WiFi list interface. Previously the user had to press the 'Menu' hardware button or the three dot button on the screen in order to reveal the actions.

Change-Id: Iae622054ec080ba4775c22223dd75a865c83fc27
Signed-off-by: Manuel R. Ciosici <manuelrciosici@gmail.com>
Profiles: Airplanmode Settings with Checkbox (2/2)

Change Airplanemode Settings to look like Connection/SilentMode etc.

Change-Id: Ida61c51a04e609c7f44d1e320a1cc3fe4208cd7b
Settings: Add Utility function

Change-Id: Ic5316765d3db48351a9feaa9b3cce286d256071e
Settings: Call Ring mode what Google calls it, not Silent mode (1 of 2)

Silent mode -> Ring mode cleanup

Change-Id: I4c0c182d59ebeb9e2372a24131506f1a111fe33f

Conflicts:
	res/values-de/arrays.xml
	res/values-de/strings.xml
	res/values-it/arrays.xml
	res/values-it/strings.xml
	res/values-ru/arrays.xml
	res/values-ru/strings.xml
	res/values/strings.xml
	res/xml/power_menu_settings.xml
	src/com/android/settings/cyanogenmod/PowerMenu.java
Fixes

Change-Id: I9aae7f2136b42fa2ab050bedaa03c9da976467fa
Settings: Add setting in security for sms message rate alerts from CM10

If we add a preference to control "sms_outgoing_check_max_count" we can
control the message rate by writing to Settings.Secure.SMS_OUTGOING_CHECK_MAX_COUNT.

Currently this is null so it defaults to 30 sms messages in a 15 min period.
Creating and writing this preference allows us to control the sms rate interface.
We can also modify timeframe as well.

This was added to security instead of Mms since this isn't just rate limiting the
sms application.  This rate limits any application that sends texts.

This also creates a new category called Application Security.

Change-Id: I47a2f8d136a4399ebf5477dbd5bb23d83b5693cf

Conflicts:
	res/values/arrays.xml
	src/com/android/settings/SecuritySettings.java