Recursive syntax checking for anyOf, allOf, oneOf

They all use the same base class.

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