Fixed issues (please see commit comments)

Fixes:
1. Fixed urlrewrite functional test case - web.config had invalid characters that prevented IIS from reading the config.
2. Support for env variables in nodeProcessCommandLine value.
3. Issue #296 - query string lost when default document is used.
4. Close Directory handle if watched directory is deleted