Setup rubocop.

Closes #702.
Yeah woops, that's weird.  I'll fix that.