Many minor changes (and some real bug fixes) discovered by pylint 1.1.0.  Also added pylint suppression comments where needed.  All unit tests pass.