Travis: overhaul script to call out to scripts #64

The separate commits are intended to be independent as they can be reverted individually if necessary. Each corresponds to an item in issue #64.

The failures in intermediate commits are due to gcc version in travis being limited to 4.8. The last commit turns it off. 

closes #64