Validator class

Basic validation.
Usage example:
$passVal = new Validator($pass1);
$passVal->isAlnum('Password has to be alnum')
    ->hasFormat('/((?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,})/', 'Password too weak')
    ->isEqual($pass2, 'Passwords dont match');