Fix gradle instructions

This gradle configuration is improved, but still has some bugs:

* Generated code is treated as user code by Android Studio;
* Code generation is no cached (ie. happens on every build)
* Code lives on folder not ignored by default on .gitignore

Fixes:
* Generated code not being found when building signed APK