pidutils: add function to create url

* Adds a function that for a given persistent identifier will
  try to create a URL to a resolver.