Complete rewrite of the part that generates the URL to be purged.
Merge pull request #66 from gnotaras/enhance-common-objects

Complete rewrite of the part that generates the URLs to be purged.