Added more groovy and gradle files.
Adding support for version number from jenkins.
Added files for possible integration and functional tests.