Python 3 compatibility fix

A very useful module, thanks for sharing! I've made a couple of improvements. In a nutshell:

* Python 3 compatibility.
* New method ``get_status()`` to check event status.
* Various bugfixes.
* Documentation improvements.
* Indentation cleanup.