Update resource loading implementation to handle only one URL per name

This follows up on the previous API change that allowed only one URL per name
during script/style loading and transitions the underlying implementation to
match the API.

Progress on #25.
names of a given type

just to be clear that this method operates on types not names.