Make ValidationChain take a RefResolver as an argument

Always the same, generated from JsonValidator.

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