Make (My)SQL optional

For #234

Work already accomplished: Proxy of all history manager calls into blended history manager