Extracted upload tagParams and upload url functionality into their functions, this will facilitate frameworks like Angular fetching the server-side params
Updated so we don't escapeHTML unless necessary for the server side. This allows the client-side to receive a JS hash / object directly. This is useful, depending on how the input is rendered.
Merge pull request #7 from AssuredLabor/extractUploadParams

Extracted upload tagParams and upload url functionality into their funct...