Added get_config to get extra options.

Configuration options such as the project name, project description, and custom index page will be searched for, and if these options exist, will be copied to the repository shadow.
Close the database after opening it.

The function get_first_commit_date wasn't explicitly closing the database after opening it, but it should.
Remove copy/paste typo.

There is no column named 'comment' in the config table, so searching for that column was causing an error whenever get_config was called.
Added set_config to insert config tuples.
Copy config tuples using (g/s)et_config.
Added function to set initial commit hash.

Based on my analysis of my existing Fossil repositories, the initial commit's artifact ID can be modified by editing the first record in the 'blob' table (the record with an rid value of 1).
Added function to get initial commit hash.
Make the first commit match the original.

The revision ID of the first commit in the reference repository is now
set as the revision ID of the first commit in the repository shadow.