Complete switch to mocha, still failing a few tests in IE

Switches from Jasmine to mocha, and from including libs to pulling them from npm. Will eventually lead to travis-style testing.