redesign: Redesign the local server.

Since most of the smaller files were identical except for the
directory and excludes names, we now pass these in the arguments
to the php file. This allows us to use a common generate_docs.php
script for any directory.