Cache consumer objects in the server middleware

Cuts down on requests to the database to look up consumers.
Merge pull request #4 from infoxchange/consumer-caching

Cache consumer objects in the server middleware