Handle many pylint issues for records package

Also rebased from master.
Also, :+1: for `vars(self)`.