get working on testling

Okay, turns out I didn't need a chai pull request - that problem was fixed in a newer version,
so I just upgraded chai.

I got one failing test running this with the `testling` command.

I upgraded chai and mocha to latest versions, but there was one error,
I think that might have been a testling error, it was only from one check that used
node's `assert.deepEqual` instead of mocha's. I switched it to mocha and it passed.

Also, I changed the Makefile so that the dot parser doesn't export a global.
That is generally considered a bad idea. I notice you are loading common requires that way in the tests too,
but tests are less important, and mocha adds globals anyway, so I'm not gonna hassle you about those...

to run the tests:

`npm install testling -g; testling` (will start a browser and run tests locally!)