Fixed a problem that appeared if the config object was not provided at all.
Removed some unnecessary code and tasks.
FIxed a problem that was causing nodeunit to crash due to our tests calling test.done() twice in a test.
Merge branch 'feature-request-validation'