convert unit tests to mocha

Way easier to run everything; no need for jasmine or a browser runner.
May add in Travis CI testing at some point soon.