Frameworks: Gesture Lockscreen (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.

Androidx:
Some changes needed for 5.0

@alviteri: crDroid'fy

(cherry picked from commit fb0784ccbfecc493595275369784fdc1acf1145b)