title: minlength doesn't work with jquery validation
body: <p>I am using jquery validation in zend 2.
  All the other validation types are working except minlength.<br>
  Here is the form code:</p>
  
  <pre><code>    $this-&gt;add(array(
          'name' =&gt; 'usr_name',
  
          'attributes' =&gt; array(
              'type'  =&gt; 'text',
              'id' =&gt; 'firstName',
              'class'  =&gt; 'form-control',
  
          // jquery validation rules:
              'required'  =&gt; 'true',
              'minlength'  =&gt; '2',
              'maxlength'  =&gt; '20',
          ),
          'options' =&gt; array(
              'label' =&gt; 'Name',
          ),
      ));
  </code></pre>
  
  <p>Here is the js code:</p>
  
  <pre><code> $('.form-validation').each(function () {
       $(this).validate({
  
  
      errorElement: "span",
      errorClass: "help-block",   
  
      highlight: function(element) {
          $(element).closest('.control-group').removeClass('success').addClass('error');
          $(element).attr('style', "border-radius: 5px; border:#FF0000 1px solid;");
      },
      unhighlight: function(element) {
          $(element).addClass('valid').closest('.control-group').removeClass('error').addClass('success');
          $(element).attr('style', "border-radius: 4px; border:1px solid #ccc;");
      },
      errorPlacement: function (error, element) {
          $(error).attr('style', "color: #FF0000;");
          if ( element.prop('type') === 'checkbox') {
              error.insertAfter(element.parent());
          } else {
              error.insertAfter(element);
          }
      }
  
    });
   });
  </code></pre>
  
  <p><strong>UPDATE :</strong><br>
  This is the html generated:</p>
  
  <pre><code>&lt;input name="usr_name" type="text" required="required" maxlength="20" id="firstName" class="form-control" value="" aria-required="true"&gt;
  </code></pre>
  
  <p><strong>LOOK AT THIS:</strong></p>
  
  <p><a href="https://github.com/zendframework/zf2/issues/3770" rel="nofollow">Strange, how can it be possible!</a></p>