Kobo frontlight interface.

This code should be working, or at least compiles fine. There's still a printf in it for debugging purposes, I'll remove it as soon things are ironed out. 
https://github.com/koreader/koreader/issues/169