Fixed error where constraint.* attributes were being passed to validator...

...s as undefined.

Fixed error where constraint.* attributes were being passed to
validators as undefined.  The constraint.* lines were changed to
constraint.attributes.*.  For example: constraint.min is now
constraint.attributes.min.