Updated Gradle wrapper to recent version.
Fixed crash when trying to rotate image when bitmap == null.
Definitely fixed onRestoreInstanceState crash.
Merge pull request #20 from sergeyotro/development

Fix for onRestoreInstanceState crash and update for Gradle plugin.
Added gradle wrapper.
Merge pull request #28 from edmodo/gradle_support

Added gradle wrapper.