Add Code Climate badge; Fix linting errors caught by code climate