Add a handlebar helper to encode strings for use in data attributes
Primary use case for this is creating a utility to embed translations into HTML data attributes. It should work both with a String or with a JSON object. If the input is a String, double quotes need to be escaped with " If the input is an Object, single quotes need to be escaped with ,