Convert tests to casper API (bug 1045707)

This converts us over to using the casper 1.1 api directly and removes the abstraction layer and updates everything to the current version of casper which is 1.1-beta3
could put this in the `package.json` as `npm test`