optionally use gradle to build bagit

Created various gradle scripts that perform the same steps that maven does for building a deployable application. No modifications were made to break building with maven.