Fixed MaxLengthValidatior so that the validation matches the javascript ...

Fixed MaxLengthValidatior so that the validation matches the javascript character count correctly, even with special characters: 
à   would count length as 2 instead of 1.