A validation class with some helpful methods.  Two options, one for jquery ui, and one for use in node, passing in string values