Decode URI params.

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