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
This include the generated files on set of files being compiled when building the main module (app).