Update Gradle and conform to usual norms.

The Gradle wrapper was updated to 1.11 and the .gradle dir was removed and blocked in .gitignore.
Only the wrapper is required in the git repo.