Added fixes for resource url's that include hash values.  Changes are to ensure the hash tag is included after the cdv= segment and to explicitly disable bundling that resource.

Specifically adding a resource with a url of .../file.js#myhash would result in the following which is invalid.
.../file.js#myhash?cdv=x

Now you will properly get this.
.../file.js?cdv=x#myhash

Or if debug is on then the original url is rendered as expected.