updated README
added Gradle build files
upgrade Gradle build to Java 8
added initial code with Preconditions and RichEnum