Code nitpick

Signed-off-by: Francis Galiegue <fgaliegue@gmail.com>
New schema tree implementation as well

Now, on to replacing the old one in ValidationData and friends...

Signed-off-by: Francis Galiegue <fgaliegue@gmail.com>