Work on branch publishing.

The branch status is now monitored by the MailboxBookkeeping class and
synced with remote branches using the MailboxSyncManager (not used yet).