freenetconfd: consolidate plugin operations code for all plugins

Signed-off-by: Zvonimir Fras <zvonimir.fras@sartura.hr>