Rebase from 'upstream'
Added install rule for package.xml
add misc patches from Groovy
do not build the docs by default