better handleing of local files
better handleing of local files

CHANGES
=======

dissemina.cpp:
  * switched from fstream to stdio
  * the check of whether a file exists or not is now done by a separate
  function that attempts to open the file for reading; if this is not
  possible, it is assumed that the file does not exist
  * reading files through directories does works
  * Content-Type is determined by examing the extension of the file
  * using fread instead of std::istream::getline should solve any
  truncated lines problem; it also provides support for binary files

BUGS
====

Some functions are still called sequentially. i.e. Several functions
could be rewritten as one.

No security is present. The browser could easily request any file
that the server has access to. I should implement some better path
manipulation routines.

Is it possible for a file be openable for reading ("r"), but not for
binary reading ("rb")? If so, I have a problem.

scvalex/dissemina