A series of patches to provide restart capabilities

This set of patches allows saving the full SyN state to disk so that an ANTs registration can be restarted.

The final patch also makes writing composite transforms mutually exclusive with writing separate files.  This is needed so there is a way to avoid excessive transform writing.