adds support for running under nginx with php-fpm
properly get path info under nginx
Merge pull request #20 from aaronpk/nginx_support

adds support for running under nginx with php-fpm