data tree BUGFIX removing whole data tree during validation can happen
data tree BUGFIX removing whole data tree during validation can happen

Fixes #280

PavolVican/libyang,PavolVican/libyang,PavolVican/libyang,PavolVican/libyang,PavolVican/libyang