Upgraded bnd to 2.3 and added gradle support

resolves #17 and #32