Modified redisView in db.js to close redis connections with `client.quit()` instead of `client.end()`, since that is what the documentation recommends. This avoids prematurely closing the connection if a request is still awaiting a reply. See https://github.com/mranney/node_redis#clientend.
Fixed the submit endpoint not closing some redis connections by calling `done()` on success
Merge pull request #157 from cvan/db-connection-fix

Fixed redis connections closing prematurely