Add Travis build scripts

Doesn't quite work as we can't build a loop device until travis-ci/travis-ci#1119 is fixed, but it's encouraging!