Slugify {category} in URLs. Fixes #926

G'day, this branch fixes the issue I raised in #926 ... slugifying {category} and {author} in URLs.
It's a very small fix!  Tests pass.