added IMI save series

Added function to save a 3D stack of images to a set of IMI .dat files.
Also added menu items for IMI save operations.