Add Gradle build files.

Updated .gitignore with Android and IntelliJ recommended exclusions.

Updated Gradle to 1.10