Adde slimerjs support to JS tests

This commit contains 16 more, squashed commits:

Added slimerjs flag

Fixed some bugs with flag code

Figured out how to add arg correctly

Cleanup

Improvements to the test framework for FF

Log to see if slimmer is actually running

Added print in controller to debug

Added full logging to casperjs

Remove the special logging logic since it was caussing a failure

remove notebook.dirty = false line in favor of
overwritting onbeforeunload.

Capture output for slimerjs

Fixed iptestcontroller rebase issues

Fixed rebase issues.

Wait for notebook to load completely before testing

Fixed stdout capture for slimerjs tests.

Clean-up comments in util.js
Added slimerjs to Travis
Fixed image test for slimerjs
Fixed indent .travis.yml
Comment out slimerjslauncher env var.
Removed zmq flag which doesn't work there anyways,
it was added by me in a recent commit
Fix isolated svg color tests so 'rgb()' colors are accepted
Fixed travis yaml,

broken because of rebase