Fix imgsaver hack

Removes a hack where the `ImgPlus` given to an `ImgSaver` may have its source overwritten unnecessarily. The writing process has been restructured to be.. smarter.

Also adds an `ImgSaver` unit test class to limit the possibility of writing breaking in the future.