added git ignore for certain hidden files (mac os and windows)
gradle-ized project. (you need this eventually for 1.7)