make TaskContainer extend PolymorphicDomainObjectContainer

- deprecate "add" methods and replace them with "create" methods
replace usages of TaskContainer.add with TaskContainer.create