Upgrades Gradle Wrapper to version 1.8.

Also removes redundant specification in .gitignore file.