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.

Cherrypicked from ChameleonOS source