Split utils into different files.

Also rewrote ChopRectangle (et al.) into two nice functions that take
a "ExcessMode".
Update pixelate to use new ChopRectangle