adding EventEmitter from phantomjs-extensions
completely refactored implementation of EventEmitting sleepyhollow
simple test example to render a url
fixing import problems with CJS