jenkins_integration: cleaning up templating, adding Github triggering code (for pantries)