Fix: inject environment because partials have no access to node

Related: opscode/chef#1506
Refactor: use/inject doc_root variable
Refactor: more doc_root
Fix: use php_upstream var (generated in easybib_nginx)