Support model classes in namespaces

This commit adds support for putting your model class in a namespace.  The namespace is looked up when the files class is created, and the files class is placed into that same namespace (to avoid name collisions).

This should Just Work; it runs fine on my local machine.