Allow development resources to contain fragment identifiers.

@ozten - mind reviewing?

When looking for the filename, strip the fragment identifier (#partofurl) from the resource name.