Add a class to the html tag once app scripts have finished.
Add thenWhenReady and thenOpenWhenReady helpers.
Update tests to use thenWhenReady and theOpenWhenReady.
Make inline error message logging a bit more clear.
Increase test timeout.
Wait for campaign confirmation redirect rather than page class.
Add stack trace to page error output.
Clean up comment spacing.
Remove unnecessary close button markup.

Was causing intermittent JS errors. As of Neue 3.12 modals generate
close buttons programmatically.
Add tests for closing modals.
Merge pull request #3119 from DFurnes/casperjs-wait-calm-down

Fixes sporadic timing-related test failures.