ENH: Updated Workflow for ANTs state saving.
WIP: add flag names to the BABC xml file
WIP: add restore state to the BFitHelper
WIP: add restore state to the BFitHelperTmp
WIP: add restore state to the BFitSyN
WIP: add restore state to AtlasRegMethod
WIP: Add restore state to BABC
WIP: add save state to BFitHelper
WIP: add saveState to BFITHelperTmp phase1
WIP: add saveState to AtlasRegHelper
WIP: add saveState to BABCcxx
WIP: fix one compiler error
WIP: fix a compiler error in xml file
WIP: fix a compiler error in xml file2
WIP: fix comp errors in BABCcxx
WIP: fix comp errors in BABCcxx2
WIP: fix comp errors in BABCcxx3
WIP: write saveState to disk