#581 Allow other transformations besides shift and expand to take functional arguments

The GalSim paper had the sentence "In addition, the shift, expand, dilate and flux rescaling transformations can take functions of wavelength for their arguments."

It seems (to me) a bit odd that we don't just allow everything to take such functional arguments.  The use cases might be less common for shear, rotate, and transform, but I thought the functionality should at least be available.  So this PR adds that functionality.  

The new sentence in the paper is now "In addition, the various transformations can take functions of wavelength for their arguments," in expectation of this change.
The `lens` function seems very specifically about gravitational lensing, for which I think the argument about it being achromatic is actually valid.  But I suppose there's not much reason to have it be different from the rest, so I can change this.