Add ArraySchemaSelector, plus tests

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