Gradle support

Add build.gradle and gradle wrapper to support new build system.