[Validator] Fixed the new validator API under PHP < 5.3.9
[Validator] Added deprecation notes