Use Rubocop to lint library code.
Bump version to 0.2.2.