Gradle support

Created build.gradle and settings.gradle for both the library and sample projects.

Might be a cool idea to publish an aar to Maven Central?