Decode URI params.

Fixes #844 

I went with the simple approach and see no issues across Shopify.

/cc @cjoudrey @pushrax