Use url_for_static vs url_for.

Recent versions of Flask/Jinja prefer to use one from Flask instead from globals.
Merge pull request #1 from eirnym/url_for_static

Use url_for_static vs url_for.