Efficiency---use calloc() and avoid call to memset().
Refactor BlogDatesInit().

I actually removed it.  I moved teh first and last dates, as well as the
current time, into the blog structure.  I then removed the three global
variables and refactored all the code.

Hopefully this works.
Remove gd.tst and gd.stmst fields.

Use the values in g_blog instead.  Two mroe global variables (or global
fields) down, several more to go.
Refactored how adtags are stored.

The default is c_adtags.  Valgrind should be able to handle that now.  The
list that's used is now generated into the struct callback_data and is no
longer part of struct display.  One more global field down.
Bug fix---when writing a new entry, update blog->now.
Bug fix---regeneration bug.

If the last entry is on the same day as now, update now to have the last
entry of the day.

Basically, when it starts, now is set to

	year/mon/day.1

But if now is the same day as the last entry, when we need

	year/mon/day.last_part
Bug fix---Blunder: assert() wasn't true

cb_blog_adtag() and cb_blog_adtag_entity() could be passed a NULL data
pointer.
Bug fix---memory leaks.  A lot of memory leaks.

* In cli_main() where we don't release resources from the request
* In entry_add(), free the entry (but not the fields)
* In blog_meta_read(), free the last line (empty) before exiting.
* In blog_meta_entry(), close open file.
* In print_nav_title(), free the entry we just read (cleaned up quite a bit)
* In calculate_previous(), didn't free entry.
* In calculate_next(), didn't free entry.
Bug fix---freeing something that shouldn't have been freed.
Bug fix---forgot to set the adtag field for the callbacks.
Bug fix---function call was in the wrong place.
Got rid of another global variable.

Renamed gf_emailupdate to cf_emailupdate.  It's not changed once set.