added :url-rewriter config option and more

Added :url-rewriter option and hopefully removed the need for it at the
same time.
files are now explicitly loaded from the static file server wherever it
happens to be located
previously they were loaded relative to the current localhost