ColorFilterTest: refactor, moved TransitionStat and its internals into libImageFilter.