Add travis and code climate badges and fix travis.yml