Fix use of path_info when handling a request 

This pull request addresses issue #175 (see details there).

A test is also provided that would not 404 when the `SCRIPT_NAME` is present in the WSGI environ.