Working gradle build system

Hi,

here's another gradle build system pull request.
In this case I'va also added a means to automatically run ndk-build (which has to be in the path).

Kind regards,

Felix Homann