Add string and integer slice support to validators

Slices are used for multiple select form elements, but the built-in validators do not support slices.