Tag related fixes
 Fix bug in showing posts with specific tag. Fix malformed tag_index HTML. Add badges with post count for specific tags in tags index page.