Handle many pylint issues for records package

Also rebased from master.
Clever. I didn't know that it was legal to provide a docstring and omit the `pass` keyword.