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

Part 2: http://review.cyanogenmod.org/#/c/28534/2

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

The default size has been replaced with a constant PATTERN_SIZE_DEFAULT=3
It now parses the longInt as a byte, no longer requiring a get/set Int function.
Negative numbers and sizes over 127 do not make sense, so a byte works well.
In addition the logging has been removed.

Patch Set 1-2: Initial port

Patch Set 3-5: New implementation using seperate file for non standard sizes

Patch Set 6: Use AOSP code style

Patch Set 7-9: Remove static code

Patch Set 10: Correct a comment

Conflicts:
	core/java/android/provider/Settings.java
	core/java/com/android/internal/widget/LockPatternView.java
	core/java/com/android/internal/widget/LockSettingsService.java
	policy/src/com/android/internal/policy/impl/keyguard_obsolete/PatternUnlockScreen.java

Change-Id: Ia06fc5a7dc2819f78843fddcf1470d85ebe2ad13
Add gesture based lockscreen security. [1/2]
This adds the ability to us a hand drawn gesture as
a means to unlock the device.

In the case that the gesture is forgotton or not
being recognized correctly, the fallback will be the
same as when using patterns.

PS2:
Return SecurityMode.Account as backup for gesture login.

PS3:
Poke the wakelock when a gesture is detected so the screen
will not timeout when an invalid gesture is entered.

PS4:
Clean things up a bit.

Change-Id: I4ca8d7edff0a8906220cf4561d8b90896520e0cd
Add back Thinking Bridge traffic meter

PS3: Make color use STATUSBAR_NETWORK_COLOR

Change-Id: If6101026b1967528eaf1b8ae2b5172d535bb9439