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.