mocked XmlHttpRequest moved to external directory
added dependency on events from npmjs [closes #8]
Merge branch 'clean-deps' into develop