Add some licenses
test compatible with python2
useless lines removed
mit license modified
module docstring +1
setTimeout and setInterval parameter changed
arguments can be given to timeouts functions
String can be given instead of function

using `exec`
events.py rewritten

Directly translated from nodejs "events.js" module.