Base: Fix ActiveDisplay problem

this commit base from
http://review.chameleonos.org/#/c/2728/
http://review.chameleonos.org/#/c/2727/

also some changes to follow kitkat changes
fix double unlock keyguard
fix ActiveDisplay never disabled after using turn off display option

Change-Id: I1d178875c2643e872da40cae9781313fca53a6a5

Patchset: 1
https://gerrit.omnirom.org/#/c/4205/
Separate Android Encryption Password from Lockscreen Password

This permits the use of a different (hopefully longer and more complex!) encryption
password, while using a simpler (and easier to type) lockscreen password.

Change-Id: Ia35fdcc769eee8fd7891678a532dafa0f4b3ba04