Add querystring stringify, url{en|de}codecomponent

Including tests. The *component methods probably need a bit more
love to make them more on parity with the javascript equivilents.

Signed-off-by: Tim Smart <tim@fostle.com>