Make the CI Helper script more generic

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