Add ability to rotate image
Fix bug that cannot rotate image counterclockwise
Support all types of  Exif Orientation
Fix orientation problem