Added skipOnEmptyTarget property to UniqueValidator

If set to true, unique validator will mirror how MySQL treats unique
indexes and ignore null values when evaluating uniqueness. Addresses
issue #4333.
Formatting is messed up.