redo im_dilate()/erode() as classes

just a thin wrapper over the vips7 operations for now