Refactor run-ci.py

Adds cisetup argument
Convert jobcleaner into a mode
Move Travis-CI setup inside run-ci so it can be skipped if unneeded
Merge pull request #975 from hamiltont/travis-speedup-pr

Speed up travis build for pull requests