Fixed models to allow use of Data URIs for resources.

Model resources had the base URI prepend regardless. This broke data URIs.