Setup rubocop.

Closes #702.
```
lib/rspec/mocks/message_expectation.rb:509:9: C: Favor modifier if usage when having a single-line body. Another good alternative is the usage of control flow &&/||.
        if yield_receiver_to_implementation_block?
        ^^
```