Load embedded resources to a memory storage when loading parent resource
requested to merge dkazakov/krita:kazakov/embedded-presets-to-database into rempt/T379-resource-management
The patch adds a linkedResources() property to KoResource. Calling this method will load all the linked reousrces either from the global storage or from the embedded data. The caller can distinguish embedded resources by checking resourceId() of the loaded objects.