Adding pyext/event unit test, improving pyext/event. (#44)

* Also documenting unittest.