Add interpolateName function and documentation

Extracted interpolation code from `file-loader` and enhanced it with regular expression support.
Please change this back to the original values after usage.
We don't want to make persistant changes to static values for the lib.