Add support for running tests in node (no DOM), and in phantomjs.
Add support for dojo's AMD loader.
Add support for dom snapshots on test failure.
Opens a window and inserts the snapshot without any scripts.