fixed formatterLoader.ts and ruleLoader.ts to set CORE dirs relative to module.filename

using this the core modules get resolved correctly when tslint is used by dependents (grunt-tshint etc)