Gradle Update

- Updated library to use the latest version of Gradle.
Fixed Orientation

- Now copies Exif data before overwriting image. This helps maintain the image orientation, if any.