GeneratorService: added "mapping" association configuration option that ...

...is required for correct loading of belongsTo associations from database.

Without the "mapping" configuration key, when loading entities with belongTo associations from database via REST the foreign key field is not correctly set in extjs and so the association gets lost when saving.

This commit adds the mapping configuration to GeneratorService and extends the tests to cover this issue.