Depreaction warning. loaderUtils.parseQuery() received a non-string value which can be problematic
Hi!

I've migrated the projects to the webpack 2 and I've received this warning.

```
(node:6378) DeprecationWarning: loaderUtils.parseQuery() received a non-string value which can be problematic, see https://github.com/webpack/lo
ader-utils/issues/56
parseQuery() will be replaced with getOptions() in the next major version of loader-utils.
```

I've tried to fix It but without any result.

```
// Futureproof webpack option parsing
function wpGetOptions(context) {
  if (typeof context.query === 'string') return loaderUtils.parseQuery(context.query);
  return loaderUtils.getOptions(context);
}
```