fix #26, restart doesn't work with codeship.com

* also replaced other references to codeship.io
Merge pull request #27 from codepogo/bug/restart_fails_after_codeship.com_redirect

fix #26, restart doesn't work with codeship.com