Travis continuous integration

This isn't fully working but it's at a point where I'd like get any comments and if acceptable merge it upstream. Both #102 and #112 have been referenced inside the file, hopefully this work will make it easier to fix those issues.