Gradle Update

Updated java source level to 1.6. And updated the .gitignore to ignore the junk class files.