Updated build.gradle to compile with java 7
Updated .gitignore, everyone please follow up