set up travis, coveralls, davidDM and codeclimate

Please merge the travis stuff.