Prepare for build with Gradle 2.0.

Compile task -> JavaCompile.
More strict checks for file name matching to class name.
Disable NoWildCardImport rule in codenarc.
Methods with the same name and different modifier are discouraged in Groovy 2.3.
TaskContainer.add() -> create().