Lots of fixes and support for Travis and Overalls.