Added Partial Wake Lock support for Android

Note: This change breaks the JS API and probably the other platforms
too. A fix for them will come later (if they support partial locking).