Throw on non-function listener
Fix for #223
Test added
Using top level tap module for tests
Comment removed
Merge #414 r=@kevinmehall: Throw on non-function listener

Fix for #223
Test added