Changed deprecated calls to MaxLength and MinLength

See http://symfony.com/doc/2.2/reference/constraints/MinLength.html
Merge pull request #15 from nacmartin/patch-1

Changed deprecated calls to MaxLength and MinLength