Fixed compiler's build process.

- TSD config file moved and updated so that:
  - `tsd` can be run from the repository root directory
  - `tsd` will place downloaded Type definition files into the correct subdirectory of ./compiler
- Fixed compiler's `build.js` to `cd` into the ./compiler directory before running