Add current working directory support to base linter

Add current working directory support to base linter
, also pass editor to linters for access to file information

Both are necessary to support my typescript linter, 
https://github.com/park9140/linter-tslint