Make error reporting easier to integrate with (#20)
Make error reporting easier to integrate with (#20)

Declaration file errors used to be reported using console.log
but are now added directly to the `stats` object which is used
by the programmatic webpack API to report errors. In addition, all
ts-loader related errors include a `file` property and possibly a
`location` property for easier programmatic access.

jbrantly/ts-loader,TypeStrong/ts-loader,bjfletcher/ts-loader,use-strict/ts-loader,jbrantly/ts-loader,thomasguillory/ts-loader,TypeStrong/ts-loader,thomasguillory/ts-loader,MortenHoustonLudvigsen/ts-loader,use-strict/ts-loader,MortenHoustonLudvigsen/ts-loader,gsteacy/ts-loader,jbrantly/ts-loader,jaysoo/ts-loader,MortenHoustonLudvigsen/ts-loader,jaysoo/ts-loader,bjfletcher/ts-loader,gsteacy/ts-loader,gsteacy/ts-loader,basarat/ts-loader,basarat/ts-loader