Expose hdResource::getSubResourcesAssayMultiMap()

Also move knownDataTypes() to new controller.