Add Gradle build files.

Updated .gitignore with recommended Android exclusions.