HV-802  Adding paranamer to the list of dependencies for the distribution module so that it gets included into the dist bundle.

Also fixing Javadoc generation warnings. The one in HibernateConstraintValidatorContext cannot be resolved due to a Javadoc bug - http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4464323
HV-637 Updating readme and pom

Adding new hv-5.1 profile, updating bval version, improving the way profiling is enabled, updating the documentation
HV-637 Improving caching in message interpolation

Now the tokenized message strings are cached as well. Also caching is done using ConcurrentReferenceHashMap with soft references to avoid memory leaks.

Renaming of ParserContext and MessageDescriptorParser to TokenCollector and TokenIterator to better reflect their use
HV-637 Pre-calculating the hash code for some instances which are immutable
HV-637 Formatting and some minor cleanup
HV-637 Renaming SingleThreadCachedTraversableResolver to CachingTraversableResolverForSingleValidation
HV-637 Avoiding putIfAbsent() calls if cached messages were found; Fixing some typos/formatting issues;
HV-779 Avoiding usage of Introspector
Preparation of 5.1.0.Alpha1 release
[maven-release-plugin] prepare release 5.1.0.Alpha1
[maven-release-plugin] prepare for next development iteration
HV-808 Fixing Mod11 and CPF Validation Bug

- ModUtil#mod11 no longer validates the check digit, only calculates the checksum result

- ModUtil#passesMod11Test: Change the way validation test is done, compares check digit with sum mod instead of checking if the Mod11 sum of all elements returns 0, this fixes when the same check digit is used for 10 and 11. Adding explicit comment about the assumption the mod11 algorithm makes

- Change the method's signatures  of ModUtil#mod10 and ModUtil#passesMod11Test to use the check digit as a separate parameter

- ModCheckValidator Check digit is no longer passed on the same list with other digits of the code, but as a separate int value

- @CPF: Change exlusion patterns: Non-digit characters are now optional, Adds more exclusion patterns, any sequence of the same digit passes on the mod11 check but are considered invalid CPF numbers.
HV-808 Fix and Test Updates

Code updates from the feedback of Pull Request #263

- Removes ModUtil#passesMod11Test and ModUtil#passesMod10Test the check digit validation is now done in the ModCheckValidator#isValid

- ModCheckValidator Change the way check digit is extracted, as char instead as String, add extractDigit method for conversion

- Remove useless comments from CPFValidatorTest

- Change CPFValidatorTest, ModValidatorTest and ModUtilTest to run tests for new methods versions
HV-809 Improving ModCheck

- Separates @ModCHeck in two new constraints with own options.

- Creates @Mod10Check constraint and @Mod10CheckValidator. Adds support for the weight option (second multiplier) and multiplier now defaults to 2

- Creates @Mod11Check constraint and @Mod11CheckValidator. Adds support for non-digit character for check digit using treatCheck10As() and treatCheck11As(), adds an option reverseOrder to alter the processing order of the digits

- Creates the abstract ModCheckCommonValidator with all shared options and common behaviors of ModXXCheck constraints, imposes the implementation of the method isCheckDigitValid(List<Integer>, char), instead of overriding isValid() in each validator class

- ModCheckValidator now extends ModCheckCommonValidator

- Adds @Mod10Check and @Mod11Check in TypeNames and to HibernateValidatorProvidedCustomConstraints

- Adds @Mod10Check, @Mod11Check, @Mod10CheckValidator and @Mod11CheckValidator to ConstraintHelper

- ModUtil support for the new mod10 weight option

- Updates @CPF, @CNPJ, @TituloEleitoraand @CreditCardNumber to use new @ModXXCheck constraints instead of old @ModCheck

- Adds tests for all the new classes, updates ModUtilTest.
HV-809 Improving ModCheck updates

Updating code based on Pull Request #268 feedback

- Mod11Check changes reverseOrder type from boolean to ProcessingDirection enum

- Mark @ModCheck and ModCheckValidator as @Deprecated

- Renaming ModCheckCommonValidator to ModCheckBase

- Added messages templates for ModCheck constraints on ValidationMessages.properties

- Updated pt-BR messages

- Fix code identation and style

- Fix HV-5-SNAPSHOT #325 FAILURE
HV-809 Clarifying purpose of "processingOrder" attribute
HV-809 Code clean up:

Based on the chages done by @gunnarmorling and feedback from #270

- ModCheckBase: removed multiplier attribute

- Mod11Check: change multiplier to threshold, threshold now defaults to
Integer.MAX_VALUE

- Mod10Check: added multiplier option since is no longer present in
ModCheckBase.

- Update CPF, CNPJ and TituloEleitoral constraints

- ModUtil: Changed the variable names for better understanding
HV-809 Changing default value of @Mod11Check#ignoreNonDigitCharacters() to false to support 'X' as check digit by default; Misc. style, formatting and comment improvements
HV-809 Misc. improvements: Avoiding repeated stripping of non-digit characters; Making some members private; Compiling regex pattern for re-use
HV-809 Updating reference documentation