Keyguard: remove duplicated code

Patchset 2: fixed whitespace error
Patchset 3: a few more tiny changes
Patchset 4: some code moving, removing an unnecessary member
Patchset 5: make toggleSilentMode() a bit easier to read
Patchset 6: revert most of the cleanup
Patchset 7: fix syntax error
Patchset 8: fixes pointed out by Danny Baumann

Change-Id: I4e5f8c92b223c1260891472dbf807d5ff53e5721
Merge "Keyguard: remove duplicated code" into cm-10.1
framework: Make string translateable

Patch Set 1-3:  * make the 'Cancel' button of the NavBar
                  customization editor translateable

Change-Id: I2c691f8640cb717133e499c05f929a090c7ddc59
SystemUI QuickSettings: Allow more off-status localizations

Create strings for NFC off and Sync off so that they can be localized
appropriately.

This is a continuation of: http://review.cyanogenmod.org/#/c/30327/

Change-Id: I070310868147af84b10d15c7d872f6d43120434b
framework: Custom lock screen background [1/2]

Patch Set 1:    * port the custom lock screen feature from
                  ics (http://review.cyanogenmod.org/#/c/16915)

                * thanks to Danny Baumann, who reworked the
                  framework part to work after Jelly Bean 4.2
                  lockscreen changes

Patch Set 2-3:  * remove obsolete files

Patch Set 4-7:  * revert XML changes

Patch Set 8,9:  * rebased

Patch Set 10:   * fix minor code style

Change-Id: I800506a9f9e001f659ee29b8b2dbe3464e5198f9
Merge "SystemUI QuickSettings: Allow more off-status localizations" into cm-10.1