fixed caching (missing tdb spec) and namespace default computation for trailing slashes
basic file printing is more or less up
basic structure of the new publishing in place. Need debug