ctdb-common: Add config file parsing code