Make resources of a location consolidate correctly

There was a bug where adding multiple resources would only leave in the file_resource
of the first one, which would then be “consolidated” multiple times

Also, a minor bug has prevented absolute links to be correctly rewritten
in consolidated CSS files