add a setup script for travis.
for now, this only does stuff on Mac, where must install cmake ourselves
use the new travis setup script in the before_install section