Add gradle wrapper.
Set sourceCompatibility of 1.7 for all subprojects to allow compilation with Java 8.