title: Can't get TypeScript reference to work with Chutzpah
body: <p>I have the following files in my project folder:</p>
  
  <ul>
  <li>chai.d.ts</li>
  <li>chai.js</li>
  <li>mocha.d.ts</li>
  <li>mocha.js</li>
  <li>appTest.ts</li>
  <li>appTest.js</li>
  <li>chutzpah.json</li>
  </ul>
  
  <p>The chai and mocha files have been downloaded using bower and tsd</p>
  
  <p>Here is what is in the other files:</p>
  
  <p><strong>appTest.ts:</strong></p>
  
  <pre><code>/// &lt;chutzpah_reference path="mocha.js" /&gt;
  /// &lt;chutzpah_reference path="chai.js" /&gt;
  /// &lt;reference path="mocha.d.ts" /&gt;
  /// &lt;reference path="chai.d.ts" /&gt;
  var assert = chai.assert;
  
  test("test test", function () {
      assert.equal(1, 3, "One equals three");
  });
  </code></pre>
  
  <p><strong>appTest.js:</strong> (compiled by external process)</p>
  
  <pre><code>var assert = chai.assert;
  test("test test", function () {
      assert.equal(1, 3, "One equals three");
  });
  </code></pre>
  
  <p><strong>chutzpah.json:</strong></p>
  
  <pre><code>{
    "Compile": {
      "Mode": "External",
      "Extensions": [ ".ts" ],
      "ExtensionsWithNoOutput": [ ".d.ts" ]
    },
    "Tests": [
      {
        "Includes": [ "*Test.ts" ]
      }
    ]
  }
  </code></pre>
  
  <p>I run this command in the folder:</p>
  
  <pre><code>chutzpah.console appTest.ts
  </code></pre>
  
  <p>And I get the following error:</p>
  
  <pre><code>Chutzpah console test runner  (64-bit .NET 4.0.30319.42000)
  Version 4.1.0.0
  Copyright (C) 2015 Matthew Manela (http://matthewmanela.com).
  
  
  Error: ReferenceError: Can't find variable: chai
  at global code in file:///C:/***/appTest.js (line 1)
  
  While Running:C:\***\appTest.ts
  
  File: C:\***\appTest.ts
       0 total, 0 failed, took 0.00 seconds
  
  Tests complete: 0
  === 0 total, 0 failed, took 1.65 seconds ===
  </code></pre>
  
  <p>What am I missing?</p>