model: fix model config in models.json

Fix model generator to set `dataSource` and `public` properties on
`ComponentModel` (models.json) instead of `ModelDefinition`
(models/{name}.json).
Merge pull request #7 from strongloop/feature/fix-model-public-prop

model: fix model config in models.json