Adding util method to retrieve all artifact paths for a given mediatype

This was in governance api but this should to be in registry kernel.