Fix Persistent Importing Issues

Fixes:
-Dependencies now in Gradle rather than .jars
-.iml files should now be ignored by git
-General Gradle build errors fixed
-Updated Gradle wrapper to version 1.10