Fixes for ceph-brag

Fix for brag server to make it work with MYSQL database. Some fixes in the client code as well.