Adapt project source files for using with Gradle in Android Studio

All files for AS added except Gradle binaries and build output, which should be sufficient. 

Tested and working.