Made a tags search function hooked to tag links in document view, plus an extra link for searching for content matching all tags an item has.
Changed Tagged with span to use proper i18n, like breadcrumbs.
Fixed filter clauses use in query. Fixed individual tag search links.
Added a strip() to tag split on ; and removed or_() use in filter call.
Changed Search All back to All, to be more symmetrical -- the other links do not say anything about search.
Added or_() back to query filter. Changed tag delimiter to comma.
Fixed check for the number of tags, to be > 0. Added special case handling for single tags.
Moved tags template into a separate file.
Modified general search to include tags.
Renamed results_for_tags() to content_with_tags(). Added tests.
Added tag search tests.
Added tags.pt.
Removed the [All] tags combo search link, leaving that for an advanced tag add-on.
Removed missed ending tag.
Removed unneeded backslash and import.
Fixed missing and misplaced unicode u.
Fixed line continuation formatting.
Added sorted() to list comparisons.
Fixed reversed arguments.
Fixed index for ending backslash check.