Settings: Add support for variable size pattern lockscreen (Part 2/2)

Part 1: http://review.cyanogenmod.org/#/c/28533/

Forward port of: http://review.cyanogenmod.org/#/c/20614/

Add a menu to choose the pattern unlock screen size (currently 3x3 to 6x6)
Default size is specified in the frameworks

Patch Set 1+2: Initial port

Patch Set 3: Use AOSP code style

Patch Set 4: Fix copy/paste issue

Patch Set 5+6: Comply with framework changes

Change-Id: I5e3d1f8b19b7f5017c854ab9d28b459214f00949
Signed-off-by: iceandfire <arhamjamal@gmail.com>

Conflicts:
	src/com/android/settings/ChooseLockGeneric.java
	src/com/android/settings/ChooseLockPatternTutorial.java
LockscreenPattern : Toggle dots/error pattern visibility (2/2)

Give user ability to hide error pattern / dots.

Patchset 2 : Cleanup commit msg

Change-Id: Ifdd4615c7116f974a0a67079d58a521e84d76367
Signed-off-by: iceandfire <arhamjamal@gmail.com>

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

Signed-off-by: iceandfire <arhamjamal@gmail.com>

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

Conflicts:
	src/com/android/settings/SecuritySettings.java
Add gesture based lockscreen security. [2/2]

PS2:
Tidy things up a bit.

Change-Id: I83e3ab643e19b2a2d9c8416f4925bbab05bbc896
Signed-off-by: iceandfire <arhamjamal@gmail.com>

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

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

Conflicts:
	res/values/strings.xml
	src/com/android/settings/SecuritySettings.java
Fix Build