Changes to reflect design.

* Actions will no longer return a Resource. Instead, they will be
applied over the original image.
* Above action makes necessary to create a `setRaw` method in Resource.