Add rubocop to the test suite.

We ignore any currently failing cops to keep the build passing, in the
future we can fix these issues one at a time or confirm that we don't
care to follow a particular style.
Disable encoding check in rubocop
Merge pull request #703 from prawnpdf/rubocop

Add rubocop to the test suite. Closes #664