Run fine behind reverse proxy

Use trick from http://flask.pocoo.org/snippets/35/ to support reverse proxies.

Signed-off-by: Kai Blin <kai@samba.org>
Not using less.js at the moment, so remove links

Signed-off-by: Kai Blin <kai@samba.org>