Gradle and template upgrades

* Gradle upgrade from 1.8->1.9
* Use the new message generation api that can better detect what a message package is
* Jenkins script update for better indexing using more intelligent message package detection