Sample template generator--work in progress.

Placed template outputs in src/template instead of src/main
Placed common files into src/common
Added src/common and src/template to .gitignore
Updated to Android tools .0.5.+

Fixed <common> tag handling
In this patch set: the promised refactoring. All templating logic is now in
separate plugin classes and all of the spaghetti and duplicate naming has been
eliminated. No additional functionality or templates, sorry. However, it should
be quite trivial to add extra templates.

Instructions:
1. Run developers/samples/android/common/build/sample-create <path to new sample>
2. Load new sample in Android Studio, let gradle do its thing
3. Edit SampleManifest.xml -- you at least need to add another <template> tag for the specific template you want.
4. Rebuild and add classes as necessary to fix compile errors.

To add your own template(s): Put code and/or Freemarker script into
a subdirectory of developers/samples/android/common/build/templates.

Change-Id: I43abbd337957b2eae5ffb844e411a5d3c91d6f44
diff --git a/.gitignore b/.gitignore
index 3d03f71..552351b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -19,10 +19,8 @@
 
 
 # Build stuff (auto-generated by android update project ...)
-build.xml
 ant.properties
 local.properties
-project.properties
 
 # Eclipse project files
 .classpath
@@ -35,13 +33,7 @@
 *.ipr
 *.iws
 
-#gitignore file
-.gitignore
-
 ##Gradle-based build
 .gradle
 build/
-gradle/
-gradlew
-gradlew.bat
-settings.gradle
\ No newline at end of file
+