WIP: refactoring parrec2nii while adding tests

Refactoring parrec2nii to make it easier to save in canonical array
orientation.  First add tests for minmax and scaling options to make
sure I don't break anything.
Simple not synod. Phone replies are hard :)