Only run the mongo migration if the collection is not capped
Merge pull request #165 from alphagov/only-run-migration-if-not-capped

Only run the mongo migration if the collection is not capped
fix pep8