Cache mysql connections

Hash table uri -> Mysql_connection to have only one connection per mysql server used.

It requires to have samba-libs package with libccan.
@blaxter same here