Add all the API tests, switched to using mocha to run them
Add a html format reporter for mocha