Add pylintrc and a few small fixes

- Added the pylintrc we used to delint the repository
- Replaced getattr(settings) calls with the standard setting() method
- Reenabled pylint W0612 after ignoring it for a small block
- Small edits to comments/intentionally ignored variables