Rewrite entity and collection links on an entity to module names
rather than classes.
This is because a model with links that reference the corresponding
collection (i.e. a Person's parents refers to the person collection)
creates a circular reference that requirejs can't resolve.