Add interpolateName function and documentation

Extracted interpolation code from `file-loader` and enhanced it with regular expression support.
Move `regExp` from the `query` param to the `options` parameter. We should need to use the `query` at all.