Add array validation class

Provide method to determine if an array contains a set of required and
optional values.