First CLASS validators

I'd appreciate an early code review. Then I'll write the unit tests. Spotted and fixed a bug in the email validator. Added Function and NoneOf validators. With these two I consider the validate module complete and ready for battle!