redo im_tone_build*() as classes

start vips_hist_percent() as well