Add navigator.compass & deviceOrientation support

This extends a little bit the features of this plugin, but! compass can be easily disabled, so it won't break anything.

Tell me, if you need something more to merge this in.