Do not use categories from filename when calculating short url

Remove categories from short url calculation. This way one can add or
remove categories to entry later and keep the same short url.

When upgrading from previous version, remove recent_comments.index and
shorturl.index files (under indexdir) to get rid short urls generated
with the old way.