Fixed several issues with the nginx deps on mac (at least)

In trying to get this running, I ran into the following issues:
* babushka freaks if you try to use :type as a variable
* the upload_progress module hosted on grid.ru doesn't compile cleanly with gcc4.6, the one from github does
* fixed bug in nginx config file that hardcoded a reference to /opt/nginx