#change test and move viewer's functions

change the template parameters in the tests by default ones exepct for the ones using khalimsky space

moving image and domain related methods in viewer3D instead of display3D

debogging some errors too