fix bug with DoormatCollection allowed_types on ReferenceField for collection, add Collection content type (new style Topic) into allowed types, change collection reference field into required, clean some code and fix indentation