More tests

* Added a .coveragerc to skip stuff we don't need to test for
* Added tests around utils and connections
* Added tests around edge cases when creating events.

One code change: as_json was implemented on the base class, but not child classes. Removed that.