Implement rubocop

Added rubocop and fixed majority of its suggestions

Fixes issue https://github.com/rspec/rspec-support/issues/78

there are still some offenses remaining to be fixed which I could not get a proper solution.