Image > Content-aware resize: implement!

Whew, this was a big one, but important I think to have it available in
the Image menu.

For multi-layered images, the image will be flattened prior to resizing.