Fixes for static file references in templates

Also:
- add longer timeout for gunicorn so precompile can complete
- using a commit reference for BB until we have a release tag