gradle: Pass bnd gradle plugin classpath to build.gradle

Plugin coordinates are in gradle.properties and ivy repository is setup
in settings.gradle. We do that to use the plugin from the cloudbees
build.

The gradle template is also updated to use the bnd gradle plugin from jcenter. The version of the bnd gradle plugin is based upon the version of bndlib
used in the build.