Add code climate badge
Fix build on 1.9.3 (and on Travis CI, hopefully)