Testing clean-ups

Various clean-ups to the testing framework to make your life easier:

* Display errors in Chrome's console so you can click on the stack trace to jump to the failing tes (see #391)
* Extend expect.js's `eql` to consider NaNs equivalent
* Use `eql` instead of `equalArray`