Added in the total tags for all documents. Added ability to get tags for a given filename. Updated redirects to use the url_for.