add some debugging output to js tests

- display errors in evaluate / browser code
- capture and display console.log if a test fails (like nose)

An interrupt test that did nothing is fixed, based on information revealed by this PR.
We should be prepared to handle whatever the slimer equivalent is here. We needn't work that out yet, but it's probably worth a comment.