ncm-metaconfig: support daemons with actions

Just use a hash here:

```perl
$actions{$action} ||= {};
$actions{$action}->{$daemon} = 1;
```

I'd move the logging to the end of the caller method. There's little value in logging each insertion. You can simply log the final `$actions` hash hash.