XD-226 - Cleanup build.gradle

* Align build.gradle more with Spring Integration / Core Spring Framework build file
* Copy distribution (distXD) to build/dist
* Enable all compiler warning
* Provide external JavaDoc API links
* Convert spaces to tabs