* lib/cgi/util.rb: class methods modulize for using like a function.
  [Feature #8354]