Pimage Filters

Add support for PImage filters. It is structured in such a way that the filters should be usable by anything that wants to apply a filter to a canvas. Filters added include threshold, gray, invert, posterize and opaque.