Linking topo BlacklistedTables to query service.

And correctly restart the query services when conditions
change. See comment in code.
Merge branch 'replication'