DDF-373 Cleaned up code removing unused code, utilizing async requiring of dependencies, localized event handling.

Removed commented out code.
Changed from synchronously requiring dependencies to asynchronous method.
Changed the eventing to use the collections object rather than a global vent object to localize event handling.
Removed debuging timeout in the tests.
Changed the test failures to actually fail the test.