Code Style improved and tests added

Hi Fabien,

I like the concept of your small event lib, but I had the urge to make the code better understandable. I also extendend the test suite and wired them up with a gulp task.

Please feel free to include any of my changes into your repo as you see fit.

Thanks!