Fix to resolve xml:base issues

xml:base on groups was being ignored. Updated to fix and made manifest normalisation a separate step that can be called for debug purposes