Integration of the new build system Gradle

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