Cleaned pylint quality issues in instructor email content history code

Fixes some pylint quality issues in the code from https://github.com/edx/edx-platform/pull/4451