Add trim operation.

Canvas#trim removes a single solid border around an image, if possible.
Remove superfluous error checking.
Add tests for trim functionality
Fix grayscale test

Just a paste that went unnoticed.
Add dimension test for #trim!
Merge pull request #46 from threeifbywhiskey/master

ChunkyPNG can now trim solid borders from images.