Add support for online and offline events; make nokia.phone-status return correct connectivity info

This is still a WIP, there's a weird bug in a MIDlet I'm testing that I need to fix.
Let's also test going back offline.