Fix rotation

- We cannot rotate the image, because we would have to rotate the filters also, and many clients would not recognize them.
- PreviewWidget transforms screen coordinates to image coordinates, based on image orientation.
- DngWriter saves the correct orientation in the output file.