Add code for getting all of the threads for a board

We will need this function when creating such pages as the list of all
threads for a board.
Add a comment to the index template explaining its purpose

This patch also makes it explicitly clear that we use HTML5.
Create a simple template for showing an individual board

This template shows the title of the board and a list of all of the
threads for that board, which we display in no particular order.
Fetch threads for a board by name instead of ID

We are going to use the URL structure

    http://example.com/board_name/

to browse the threads for a given board.  For that reason it is more
convenient if we have a function that returns all threads for a board
given a board name instead of an ID.  The board ID is not part of the
URL and we do not want to waste time with a second SQL query to find
the board name based on the ID.
Add a utility to fetch a single board from the database

We need this in order to display information about the board when we
are showing all of its threads.  For the sake of flexibility we allow
the function to find a board based on either a numeric ID or a string
name, but we may want to consider modifying get_object_with_id() to
perform a similar task since two of the three main tables have both
‘id’ and ‘name’ columns.
Add an example Apache configuration file to rewrite URLs for boards

This provides a file that users can rename to ‘.htaccess’ so that
Apache will properly rewrite URLs to boards into the form our code
needs, which is to pass in the name of the board as a GET parameter.
Throw an InvalidArgumentException in Board::__get() on an error

This replaces the die() call with an exception.  We make this change
for consistency with other error handling throughout the program,
which thus far relies entirely on exceptions.
Add quotes around the FORUM_TITLE constant definition
Tell Git to ignore all static HTML content we create

We do not want forum posts in the repository.
Add a block comment for the second section of the core code
Implement a function to write static board pages

This patch first changes the permissions of ‘HSF.php’ so it can write
output.  Then it adds a function that accepts a Board object and uses
that data to fill out the ‘board.tpl’ and write that to the
appropriate file in the ‘content’ directory.
Provide a FORUM_PATH constant in the configuration file

This will make it possible to have the forum software located in
somewhere besides the top-level directory of a server.
Use FORUM_PATH in the index template to create links to the boards

With this patch the URLs to each board page points to the proper
subdirectory that the user may have configured.
Fix the reference to the board information in ‘board.tpl’
Fix the query inside of get_threads_for_board()

The query mistakeningly searches by thread name.  However, that is not
the information we need to use for searching.  Instead we need to find
threads based on the board ID.  This patch changes the query,
documentation, and the use of the function to write board pages.
After this patch running ‘Admin.php’ successfully creates static HTML
content for each board.
Remove the example ‘htaccess’ file for Apache

Now that we are creating static HTML content we do not need to perform
any URL rewriting.
Document how to create a test installtion
Merge branch 'create-static-content'

* create-static-content:
  Document how to create a test installtion
  Remove the example ‘htaccess’ file for Apache
  Fix the query inside of get_threads_for_board()
  Fix the reference to the board information in ‘board.tpl’
  Use FORUM_PATH in the index template to create links to the boards
  Provide a FORUM_PATH constant in the configuration file
  Implement a function to write static board pages
  Add a block comment for the second section of the core code
  Tell Git to ignore all static HTML content we create
  Add quotes around the FORUM_TITLE constant definition
  Throw an InvalidArgumentException in Board::__get() on an error
  Add an example Apache configuration file to rewrite URLs for boards
  Add a utility to fetch a single board from the database
  Fetch threads for a board by name instead of ID
  Create a simple template for showing an individual board
  Add a comment to the index template explaining its purpose
  Add code for getting all of the threads for a board