Updated build.gradle.

- Added Groovy.
- Added Bean Validation 1.0.
Seems like a harmless annotation to add.
Fixed API problems.

- Use void instead of def when overriding methods! D'oh!
Deleted old java test that was replaced with groovy test.
Having cyclical dependency problems with this right now.
Initial work toward porting FileUtil to Groovy.