fetchItem:  improved mime type guessing.

Strip a fragment like `?#iefix` from the extension before doing
the mime lookup.
SelfContained:  Fixed determining of source URL from within CSS files.

(This fixes a bug introduced a couple commits back.)