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
* A code generations is no triggered when db, tables or view json configuration files are changed.

Fixes:
* Generated code not being found when building signed APK