added some extra jshint checks and enabled automatic testing on travis ci