Moved resource type aggregation code from PublicationConfiguration to PublicationImpl, added test case
Changed paths: