Adds encodeUriComponent implementation, along with decodeUriComponent.

These brought in from wml::fwebui.