datastore: fix enable creating nodes in cases which weren't previously covered

Signed-off-by: Zvonimir Fras <zvonimir.fras@sartura.hr>
datastore: add create_child callback

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