Update to use the Gradle Shadow plugin.

Also removed the java compatibility settings that mandated 1.7,
because my test JDK is 1.6.  Turn them back on in build.gradle if
you want them.