More changes and additions to image transformations

* Added flipping on x and y
* Fixed cropping so e.g. "100x100" without an offset doesn't do
something weird
* Transformed gifs now only update when the original has changed