Work in progress- relative URIs

Making template and CSS URIs relative to the library in which the type which is annotated resides.

Also making all URIs within the template and CSS files be relative to those files.