Correctly handle slugified tags when previewing a website:
- Slugify tags when used in filter clauses to match posts correctly.
- Added some unit tests.
Fixed some unit tests on Windows.