Change files according to rubocop suggestions.

Also removed jruby build from travis and replaced mri 2.1.0 with 2.1.1