Updated gitignore for gradle builds and add gradle configuration

Added gradle support.