Add support for success state and fix a bug in ParsleyNumberValidator.php