Add Gradle support
Merge pull request #611 from jonanp/gradle-2

Add Gradle support