ctdb-tools/ctdb: Add ctdb detach command to detach databases