Add namespace support for models generator

Namespace was previously added for controllers but not models.
Closes #88.
Merge pull request #130 from nspriego/master

Namespaces for model generators