HackThis/NexBot — pull request #62 by verath (2014-03-18 12:54:05+00:00)
Title: Improvements to the structure of the tests.

Created mocks for some classes used by the modules;
* Created a base class Mock, that can mock a simple object.
* Created mockIrcClient and mockLoader classes, that mocks irc.Client and Loader respectively.
* Changed the tests to use the mock classes.

Also changed the order the two test tasks are run, as to make sure unit tests are run even if jsHint fails.