Tidy up gradle source sets.

This replaces the default source directories (src/main/java, etc)
with our own, instead of just appending ours to the list.
Merge pull request #168 from csmith/master

Tidy up gradle source sets.