Use Compiler API in Loader.

Now our command line always runs through our Compiler API.

Fixes #1324
`_sourceRoot` is the baseURL for the sourcemap sources.  IMO it is very unlikely to change and the potential for errors by passing sourceRoot value down from where we create sourceMap generator is greater, but I can do that if you think its better.