Add namespace support for models generator

Namespace was previously added for controllers but not models.
Closes #88.