Improve build.gradle

* Set project name in settings.gradle.
* Generate source and javadoc jars.
* Use TestNG for testing!
* Add comments.
.gitignore: add gradle-generated files