schema parses BUGFIX resolving identities' base
schema parses BUGFIX resolving identities' base

Wrong return code when the base is not yet fully resolved and therefore
it cannot be used itself as base identity due to the problem of propagating
derived identities into all the identities in chain of the bases.

Fixes #100

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