Add model.js script generation

@raymondfeng @bajtos please review
You could comment out the argument name:

```js
module.exports = function(/* <%= modelClassName %> */)
```

Let's move on and leave this as it is now.