ENH: Refactored ITK-VTK transform conversion code

Moved low-level conversion functions to separate class.
Reduced redundancy between ITKv3 and ITKv4 converters.