Increase set_article_status flexibility
Fix "bad issue" errors when previewing/generating auto releases.
Include sort info in data (for make_digest_from_newsletter)
Improve handling of logging with empty messages.

if log() is called with an empty message for some reason, this will log the stack trace as the message instead.
Fixed invocation of log()
Supporting functions needed to publication.