Add Gradle build files.

These are the files necessary to build this in a Gradle project, but still leaves the project structure backwards compatible with Eclipse/Ant.

I did not see any build instructions in the README, so I left them out. If they need to be added I can add it to this PR.

I also updated `.gitignore` with the Android and IntelliJ recommended exclusions.