add support for pattern matching one of a set of values

when the oneOf attribute is set, pattern matching will ensure that
the value is one of the items in the specified array
document pattern matching against "one of a list of values"

this is useful for avoiding mysterious boolean parrameters