Changed build to gradle and updated project structure accordingly

Hi,

Since the android community is moving to gradle I have introduced a gradle build in this project and added a task to install the jar and aar to the local maven repository. It should be relatively simple to update this to install the library on maven central (or another maven repository).

Greetings,

Jacques