Set url basepath from WCF host
Moved diagnostics URL rewriting

Before the rewriting was only taking place for routes that was
used for the diagnostics pages. This left out the help page that
is displayed when you try to access diagnostics and it's not been
configured correctly. The result was that the resources could not
be loaded correctly.
Merge pull request #972 from thecodejunkie/wcfdiagnosticsissues

WCF Host and Diagnostics issues