uses the process.cwd to get the relative path to the core plugins so resolve-dep can find the correct directory from inside other projects. fixes #532
ensuring this.options.plugins is a valid array
Merge pull request #533 from doowb/core-plugin-path-fix

Core plugin path fix