Make the CI Helper script more generic

Doesn't have hard dependencies on Travis CI anymore, and more stuff is configurable. Fixes #1 and #2.