Add Gradle wrapper support

Allows running gradle on systems where gradle isn't installed.