Introduce safeDecodeURIComponent()

I don't know if there's a better way of doing this, but this seems to work. Sometimes we encounter malformed URLs and nodewebkit crashes. Sometimes is always.

If we can decode it, great. If we can't, I blame the kittens.