Added Rubocop, fixed .gemspec.

Added Rubocop, Ruby-style linter.