Added an extra check to avoid a possible division by
zero error in the report generator.

Added the pylintrc file from edx-platform.

Added comments for `measured_lines()` returning `None` to indicate
that all lines are covered by default.

Fixed a few small style issues.