make diff just part of component renderer prototype

@anthonyshort This is one way we could simplify the number of args passed to each diffing function. Since they all require the `renderer`, they can just be added to the renderer prototype, basically like a plugin.