modify token url logic

better handling for situations where the request to be proxied is
pointing at a Portal Url that doesn't include '/rest/'

removed explicit references to the 'proxy.config'
Merge pull request #73 from MikeTschudi/master

Added ability for proxy to look at both application root and in same fol...
Revert "Merge pull request #73 from MikeTschudi/master"

This reverts commit 10f6b7742d57715819e5d589a02497ae8603a7ea, reversing
changes made to d49f85e22a5e11383f465ea162cbda2ba159357f.
Merge pull request #74 from Esri/revert_tschudi_pull_request

Revert "Merge pull request #73 from MikeTschudi/master"
Added proxy.xsd for .Net's proxy.config.
fixes #71
Merge pull request #76 from JeffJacobson/add-xsd

Added proxy.xsd for .Net's proxy.config.
Merge pull request #68 from jgravois/findPortalTokenUrls

(a) removed explicit references to the 'proxy.config'
(b) better handling when Portal Url that doesn't include '/rest/'
Improve doc and error messages
Merge pull request #78 from bsvensson/improve-doc-and-msgs

Improve doc and error messages
Don't return name of config file to user, fixes #66.
the comparison of urls in config file to actual requests should be case insensitive
Merge pull request #79 from bsvensson/dont-show-config-filename

Don't return name of config file to user, fixes #66.
rewrite function fetchAndPassBackToClient
modify token url logic
missing tolowercase on url comparison
Merge pull request #80 from jgravois/case-sensitivity

comparison of urls in config file and requests should be case insensitive
change to use startsWith to avoid RTE error
Pass gzip html error without unzipping
Merge pull request #85 from afili/DotNet-pass-gzip-html-error

Pass gzip html error without unzipping
pass status code along with gzip html error