Simplify attachment location create logic & make more robust
Make sure unique_host_name autodetection gets a chance to kick in
Load manifests uncached during app configuration, since we would not be sure
that the right cache was used at this point
Also add extra components to manifest cache, and unify path resolution