Initial gradle support.

It's now possible to build the project using `gradle assembleDebug` or `gradle assembleRelease`. It also can be included in other gradle projects.