additional changes to support alternative web servers

* Let mochiweb utilities handle the urlsplit_path/1, parse_qs/1, and
  parse_cookie/1 functions, rather than making each web server supply those
  utilities.

* Change yaws code to use a dispatcher rather than an appmod.

* Various code cleanups.