build: update cnf

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
build: use the bnd gestalt macro to detect batch (CI) builds

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
build: updage to Gradle 2.2

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>