Make of new NeXus API function to write attribute arrays

This is required for (a proper) implementation of the CIF geometries.
An example of the a configured TransformationWriter will be found in ncdsim-config
soon. Feel free to create one in better places. 
The TransformationWriter could be improved in some areas, to make configuration 
simpler and more robust.
use correct attribute name