Integration of the new build system Gradle

Hi,

I hope that's ok, I doubled check but we never know :)

You can export the library to jar and apklib. The aar format is set by default.