title: jsTree TYPE plugin events are ignored
body: <p>I am unable to get the jsTree "Types" plugin to work in any capacity at all, and there are no errors firing anywhere that I can detect.</p>
  
  <p>1.) I referred to this <a href="https://stackoverflow.com/questions/5891697/how-to-open-close-nodes-on-double-single-click-in-jstree">SO Question</a> to have the node open/close with a mouseclick, but the function does not ever get executed.</p>
  
  <p>2.) For the "Types" plugin the <a href="http://www.jstree.com/plugins" rel="nofollow noreferrer">jsTree Plugin Documentation</a> says this:</p>
  
  <blockquote>
    <p>To set a node's type you can use set_type or <em>supply a type property</em>
    with the node's data.</p>
  </blockquote>
  
  <p>I suspect it's a setup problem because neither of the "Types" settings are working, yet the "contextmenu" plugin does work, so it appears all the scripts are in place and I'm doing something wrong for "Types"</p>
  
  <p>Has anyone else encountered this, or does anyone see where I'm going wrong?</p>
  
  <p><strong>HTML</strong></p>
  
  <pre><code>&lt;div id="jstree"&gt;&lt;/div&gt;
  &lt;script&gt;
      $(function () {
          $('#jstree').jstree({
              "types" : {
                  "types" : {
                      "series_type" : {
                          "icon" : {
                              "image" : "images/seriesnode.png"
                          }
                      },
                      "default" : {
                          "select_node" : function(e) {
                              console.info(e);
                              this.toggle_node(e);
                              return false;
                          }
                      }
                  }
              },
              "plugins" : [ "types", "ui" , "contextmenu" ],
              "contextmenu": { "items": {} },
              "core" : {
                  'data' : {
                      'url' : 'series_tree_data.php'
                  }
              }
          });
      });
  &lt;/script&gt;
  </code></pre>
  
  <p><strong>JSON data returned from AJAX call:</strong></p>
  
  <pre><code>[
      {   "id":"series_123120",
          "parent":"#",
          "text":"1945 - The Year That Changed The World",
          "type":"series_type",
          "state":{"opened":true}
      },
      {   "id":"title_2003150",
          "parent":"series_123120",
          "text":"Beginning of the End",
      },
      {   "id":"segment_3006200",
          "parent":"title_2003150",
          "text":"Full Program",
      },
      {   "id":"file_552973",
          "parent":"segment_3006200",
          "text":"1945_part_1.flv",
          "icon":false
      }
  ]
  </code></pre>