hibernate/hibernate-validator — pull request #268 by victor-rds (2013-08-06 01:51:28+00:00)
Title: HV-808 Fixes and HV-809 Improvements

Fixes HV-808 Mod11 and CPF validation issues
`ModUtil` now only have methods to calculate the Mod10 and Mod11 checksum value.
`CPFValidatorTest` removed useless comments.
`ModUtilTest` Changed assertTrue for assertEquals for better error report, removed useless comments and messages.

HV-809
Created the Constraints `@Mod10Check` and `@Mod11Check`.
Added weight to option to the `Mod10Check`.
Added reverseOrder, treatCheck10As and treatCheck11As option to the `Mod11Check`, changed tests to reflect the new options.
Updated constraints with `ModCheck` to use new `Mod10Check` and `Mod11Check`

`ModCheckCommonValidator` Base class for all `ModCheck` variants.

Maintain `@ModCheck` or mark deprecated?
Review changes in the classes: `Log`, `HibernateValidatorProvidedCustomConstraints`, `TypeNames` and `ConstraintHelper`

Please review my comments and javadocs, my english is far from perfect