Message passing conversion

This PR addresses issue #23 (and a crashing bug at shutdown in servo).

I have also made the suggested change to the WindowEvent members, though I have not made the changes to remove the need to call poll_events on the Window as well.