Replaces tokens in a string using key value pairs.
npm install replace-tokens_NB: Utilises Array.prototype.reduce(). If you plan on having this code work with IE9 or below, please include your own polyfill within your application for this function._