Add Gradle build files.

Adding basic support for building with Gradle.

Also I had to replace "@color/white" with "@android:color/white" to get it compile but this may be wrong if it is actually set in the resource files somewhere.