Changed deprecated calls to MaxLength and MinLength

See http://symfony.com/doc/2.2/reference/constraints/MinLength.html