refactored exit logic
Merge branch 'master' of github.com:iamchrismiller/grunt-casper