Replaced urldecode/urlencode by a Perl script.

* Takes URL from standard input rather than argument.
  => makes it possible to use as a filter through Unix pipes.