Treat Z_BUF_ERROR as TOR_ZLIB_BUF_FULL when finalizing a zlib buffer

Otherwise, when we're out of input *and* finalizing, we might report
TOR_ZLIB_OK erroneously and not finalize the buffer.

(I don't believe this can happen in practice, with our code today:
write_to_buf_zlib ensures that we are never trying to write into a
completely empty buffer, and zlib says "Z_OK" if you give it even
one byte to write into.)

Fixes bug 11824; bugfix on 0.1.1.23 (06e09cdd47eaa8f7e90ce2).
Refactor pending_cb_message_t into a type with proper functions

Also, rename it.
Turn log loop into a for loop, and "Does this lf want this" into a fn
Refactor the 'deliver a log message' logic to its own function.
Remember log messages that happen before logs are configured

(And replay them once we know our first real logs.)

This is an implementation for issue 6938.  It solves the problem of
early log mesages not getting sent to log files, but not the issue of
early log messages not getting sent to controllers.
format_changelog.py: learn about the ReleaseNotes format
Teach format_changelog to sort and collate sections.

Give it options to turn off collation and/or wrapping.
format_changelog.py: tweak hyphenation rules

Mark all our generated command names, and anything with a
double-hyphen, as unhyphenatable.
format_changelog.py: fix spelling of "hyphenatable"
format_changelog: Sort sections case-insensitively
Note that our #13426 fix is also a #13471 fix.

See also http://marc.info/?l=openssl-dev&m=141357408522028&w=2
Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4
Merge remote-tracking branch 'origin/maint-0.2.4' into maint-0.2.5
Merge remote-tracking branch 'origin/maint-0.2.5'
explain how to publish tarballs now that webwml has gone to git
Fix a use-after-free error in cleaned-up rouerlist code.

Bug not in any released tor.  This is CID 1248521
Use a macro to indicate "The ecdhe group we use by default".

This might make Coverity happier about the if statement where we
have a default case that's the same as one of the other cases. CID 1248515
forward-port the 0.2.4.25 changelog to master changelog and releasenotes
bump maint-0.2.4 to 0.2.4.25-dev
Whoops, bump the version properly.