Rewriting /corpora routes to use db.

The way korma returns is arrays inside of maps - it maps very nicely to
json with little modification needed.