Added --verbose option
Support non-digest IDs

Pick the required digest using the same algorithm that 0install uses, instead
of assuming that the ID is always a digest.