Pin db connection encoding to utf8 which is what the frontend sends

Fix #114 by making sure db expects utf8.
This does not cure potential non-frontend clients sending non-utf8. It is responsibility of the client to ensure sending utf8 to middleware.