setup for uwsgi, nginx
fixes for nginx

- make sure deferred bootstrap of angularjs works.
- make sure those delayed loaded js are copied to dist folder.