first pass at some tests for utils and hardened eventOf

eventOf no doesn't allow the objects passed to override the action
property.  wrote some initial tests for eventOf and for winIdFromTab.
Merge pull request #9 from clarkbw/dev2

first pass at some tests for utils and hardened eventOf