Added image rotation methods.
One is a logical rotation.  The other is rotating the actual bytes.
Added unit tests for the image rotation.