(Backends) Clean and unify the whole XCF/Mapping generation. It now
supports instantiated or not instantiated network. If no mapping is
given on the UI, it put all instances to the same component. In case the
mapping is not fully, the unmapped instances are printed in a comment.