editor is not defined, better to use atom.project.getPath()

I'm getting an error starting atom because when Linter starts it constructs linter plugins without passing anything to constructors. I think `atom.project.getPath()` will serve the same purpose.