title: Form init and field init events do not work in parsley.js
body: <p>Here's a simple example: <a href="http://codepen.io/spacejaguar/pen/KrvqNW" rel="nofollow">http://codepen.io/spacejaguar/pen/KrvqNW</a></p>
  
  <p>html:</p>
  
  <pre><code>&lt;form data-parsley-validate&gt;
    &lt;label for="name"&gt;Name:&lt;/label&gt;
    &lt;input type="text" name="name" required&gt;
    &lt;br&gt;
    &lt;input type="submit" value="validate"&gt;
  
    &lt;p&gt;&lt;small&gt;This is a simplistic example, good to start from when giving examples of use of Parsley&lt;/small&gt;&lt;/p&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>and JS</p>
  
  <pre><code>$(function () {
      $('form').parsley()
      .on('form:init', function() {
          console.log('Form init', arguments);
      })
      .on('field:init', function() {
          console.log('Field init', arguments);
      })
      .on('form:validate', function() {
          console.log('Form validate', arguments);
      })
      .on('form:submit', function() {
          return false; // Don't submit form for this demo
      });
  });
  </code></pre>
  
  <p>It seems that <strong>form:init</strong> or <strong>field:init</strong>  callback functions are not called at all, while any other one works just fine. What do i do wrong? Or maybe it's a bug?</p>
  
  <p>[EDIT]<br>
  I looked into source code and did some debugging stuff, it seems that init event is triggered before any listener has been attached. Creating parsley instance looks alike:  </p>
  
  <ul>
  <li>$.fn.parsley is called<br>
  -- new ParsleyFactory is created, calls init fn<br>
  --- ParsleyFactory.prototype.init validates config etc. and calls bind fn<br>
  ---- ParsleyFactory.prototype.bind decides which constructor to create (ParsleyForm, ParsleyField or ParsleyMultiple)<br>
  ----- new ParsleyForm is called and returns instance<br>
  ----  ParsleyFactory.prototype.bind <strong>triggers init event</strong> and returns instance<br>
  --- ParsleyFactory.prototype.init returns instance<br>
  -- ParsleyFactory constructor returns instance  </li>
  <li>$.fn.parsley returns instance  </li>
  <li><strong>.on('field:init', function() { ... }) is being bound</strong>  </li>
  </ul>