Added basic sitemap functionality
Closes #623
  * implemented in middleware to avoid trailing slash issue
  * used timer to invalidate cache instead of on post update