Allow development resources to contain fragment identifiers.

@ozten - mind reviewing?

When looking for the filename, strip the fragment identifier (#partofurl) from the resource name.

The part that I am most concerned about is the exports.uncached_resources that I added. Is there a better way to check whether a resource cannot be found and no hash can be created?