build+src: Add gradle build system, upgrade jndn to the latest version (0.10)

[Compilation temporarily broken]

Change-Id: I0908294fe180990c8f5c0213eab09e898f16939a
diff --git a/.gitignore b/.gitignore
index a6f89c2..2f6afa6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,48 @@
-/target/
\ No newline at end of file
+# Maven build
+target/
+
+# Java class files
+*.class
+
+# generated files
+bin/
+gen/
+out/
+obj/
+build/
+app/src/*/libs/
+app/src/*/obj/
+
+# Local configuration file (sdk path, etc)
+local.properties
+
+# Eclipse project files
+.classpath
+.project
+
+# OSX files
+.DS_Store
+
+# Windows thumbnail db
+Thumbs.db
+
+# IDEA/Android Studio project files, because
+# the project can be imported from settings.gradle
+.idea
+*.iml
+gradle-app.setting
+nb-configuration.xml
+
+# Old-style IDEA project files
+*.ipr
+*.iws
+
+# Gradle cache
+.gradle
+gradle.properties
+
+# Sandbox stuff
+_sandbox
+
+# Emacs stuff
+prj.el