Use plone.app.contenttypes Collection if available
Fixed problem with migration to z3cform
Removed unused imports