Add resource URL to the imageinfo db.

This is used to more reliably identify images when there are multiple
wikis involved in a collection.

Change-Id: I42de6b08e7ac614e77c69e2627454d62b86b8f2e