CCImage changes

Here is Scott's CCImage implementation, with some added unit tests.

The old proposal is found here: https://docs.google.com/document/d/1p5uhsyshRRasGStdEi0_sdBuGgbUSS7BypOji75O2pE