add code climate badge
integrate travis and code climate
use regexp to catch different messages when using jruby