Refactor version test using module
Add rubocop support

Add .rubocop.yml with some options disabled
Add Rakefile and gemspec to .rubocop.yml
Add development dependency in gemspec
Add rubocop task in Rakefile and always run with tests