Factor out loop code from filter functions.  Rename to new defvar image-filter-functions.
Move some code to testing-and-deprecated.el.  Regularize doc strings.  Copyrights.