Added qunit.js and qunit.css files to project
Separated mock api  code from client code and put in its own file which makes the mock api code testable
Implemented QUnit test suite to test each mock api method.
Added mention of the inclusion of the test suite in readme.md