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.
Merge pull request #149 from nicksay/refactor-script-style-implementation

Update resource loading implementation to handle only one URL per name