Fix display-only brace mismatch
Add text to be shown for no articles
Move the before_request hooks to where they belong
Move the only_admin view decorator closer to the routes.
Lax browser == missed a problem. Fixed now.
Now recording download hits.

Note that a completed version would include a redirect from the hit counter page to the static
location of the file requested. Nevertheless, this is most of the required implementation for #1.