ENH: Added new state saving interface to ANTs

In order to improve registration efficiency, it is important that
we can save and restore the state of a registration so taht
continuation may occur from a previous state.