Add gradle build

This pull request adds files required to add adility building this project using gradle. This way it can be added to other gradle projects as subproject.