Sets unlimited number of event listeners.

And adds regression test.
Merge pull request #41 from baalexander/set_max_listener

Sets unlimited number of event listeners.