Replaces deprecated MinLength and MaxLength validators

Same modification as in AddrressingBundle.

BTW, I am replacing this validators because Sf2 warnings about "functions being deprecated and removed in future 2.3" is causing app in dev environment to time out with a "Maximum execution time of 60 seconds exceeded" in monolog.

Anyone else having this issue?