Added some waits to the casperjs tests.
Initial comments test, various fixes for slower machines
Add some extra checks that make sure selectors are available before running tests