Move to using webassets for asset management, add a 'asset_url' function to jinja2 templates. Also, build static resources and assets when running build.py, instead of dynamically.

This now requires a static webserver like nginx be used to serve from the static/ directory on the / url.

This also currently breaks the 'oauth' url, though that will be fixed in the future.