Added gradle support

Just added a build.gradle file in the lib directory, which makes it buildable in Android Studio.