Refactored everything that used to be in registry.py inside of the new JSONApplication class. This fixes #3.

The new JSONApplication class encapsulates all the model registrations so that each application can expose a different set of models.

All the handlers in handlers.py now get their model converters from their parent JSONApplication rather than global variables.