Fix up build.gradle

Update to use 0.9.9 stable and include comment indicating the value to use
for nightlies (closes #6). Also, only using the ide plugins on the
subprojects - getting rid of the previous hack to delete the .project file
in the root.
Gradle 1.8 compatibility.

Fixes #4.