Add Dummy Odb and Refdb backends

Signed-off-by: Tibor Vass <teabee89@gmail.com>
Fix panic in tree.go

Signed-off-by: Tibor Vass <teabee89@gmail.com>