update pmd rules and codequality docs
Squashed commit of the following:

update gradle to V2.2
reorganize documentation
print java version in printGradleInfo