gradle updated

Updated gradle.build to reflect the newest tools.
Updated .gitignore to ignore the build folder and .DS_Store files (OS X).