Implemented the 'resolve.root' option for webpack.

My project has a few different src directories that webpack needs to access to pull various resources.  All of the other paths in the options for the task are converted to absolute paths, but the paths for resolve.root weren't getting converted so webpack couldn't find my resources.

My webpack.config.js looked something like the below.  This pull request updates the paths in the root so that webpack can find all the necessary resources.

resolve: {
    root: [
      __dirname + "/src/stylus"
    ],
    extensions: ["", ".coffee", ".js", ".styl"]
  },

Hope it works well for you ;)

Cheers,
Simon
only process it if it's a string. Here it can be a RegExp too (i. e. for `module.loaders[].test`).

and add `;` at end of line.