move metaclass assignment so that python help finds galsim.Image docstring (#593)