Setup rubocop.

Closes #702.
No, but it makes the return value explicit.  I don't feel too strongly about keeping it, though.