Refactor fix to avoid duplication of related items field and add tests for it
Send coverage report to Coveralls only if QA variable is set
PEP 8
Drop support for Plone 4.1