CMS-3717 Use gradle for OSGi build. Added initial build to project.