Fixes issue #51.

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.
Merge pull request #275 from jfinkels/fix-issue-51

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