Rename getArtifactsByMetadata to getArtifactsByProjectVersionMetadata

And add new getArtifactsByMetadata method