IRC event classes and much more

* Added pytest and a few tests for the IRC parser
* Moved connections.* into the main namespace
* Created miranda.events for generic events

This is still in development, so no, no small commits for you.