Lockscreen Notifications BETA

My try on making notifications easily accessable from lockscreen.
Credits to ChameleonOS, I got the notification listener permission and some small other stuff from their ActiveDisplay implementation.
http://www.youtube.com/watch?v=4513EMUehQ8 (that's an old video, I'll make a new one when I got time)
THIS IS STILL WORK IN PROGRESS, EXPECT SOME BUGS!

What works: notifications are shown, can be dismissed and one can interact with them.
When the phone is pulled out of pocket, the screen is switched on and all notifications are shown.
When the phone gets back in the pocket, the screen is turned off.

User configurable things:
- Enable/disable lockscreen notifications
- Enable/disable pocket mode
- Hide low priority notifications
- Hide non-clearable notifications
- Allow dismissing even non-clearable notifications from lockscreen
- Just turn screen on when there's currently a notification pending

TODO:
- add big content view
Don't reset lockscreen when device is turned off while on lockscreen

That doesn't make much sense to me and just wastes cpu time.