Add support for an externally provided asset map

This allows an embedding site to provide a map from individual
asset names to the URLs to use, thus allowing them to be served
through (for example) the rails asset pipeline.