Fixes issue #51: uses mimerender to render dictionaries to JSON

All view methods return dictionaries representing the JSON response, and are
rendered into real HTTP response objects via the jsonpify() function as applied
by the mimerender decorator.