Merge pull request #10 from bjhargrave/master

gradle: Update to latest gradle build
gradle: Update gradlew to gradle 2.0

Signed-off-by: BJ Hargrave <bj@bjhargrave.com>
Merge pull request #11 from bjhargrave/gradle20

gradle: Update gradlew to gradle 2.0
Only look for bsn and version if the URL_TEMPLATE references them

Also changed the code so that content of earlier replacements does not
get processed for later replacement.

Fixes https://github.com/bndtools/bindex/issues/13

Signed-off-by: BJ Hargrave <bj@bjhargrave.com>