Added additional path normalization.
When there is no PATH_INFO and no REDIRECT_PATH_INFO given, we assume
the root directory of the application is the directory inside which the
executed script is located.