Model: Don't enumerate `app`

This solves a number of issues, including being able to convert models to JSON
and not overriding the global `app` object in views when the current context
is a model instance.