Setup rubocop.

Closes #702.
Oh right. This one always trips me up.