Implement parseCommandWithArguments function in libkea-config
In the review of #5476 Thomas pointed out that it would be useful to have a function in libkea-config, which parses a command and its arguments and expects that the arguments are present and are a map.