fixed ruby 1.9 invalid multibyte char and add CODECLIMATE_REPO_TOKEN to travis.yml