Remove spurious require of the events singleton.
Merge pull request #287 from hindessm/spurious-require-of-events-singleton

Remove spurious require of the events singleton.
Add test that every source file has a test.
Simple fix to check/force http: to close #288
Checks url starts http: or https: - if not add http: - at least then it breaks gently.
Also add resultant url to any error payload if request  fails in order to make debug easier.
Merge pull request #286 from zobalogh/master

Adding a unit test that checks if every .js file in the core
Add library tests