More fixes to paths in the build process.  RequireJS config is now agnostic to the relative location of node_modules, and tsd config is updated to save type definitions into a subdirectory of ./compiler