Added an enumerable simple type validator. Validation can also be performed by supplying an enumerable