Channel and journal plugin API enhancements

- more efficient bookkeeping during delivery and redelivery
- different confirm messages for transient and persistent channels
- journal plugin API now fully batch-oriented
  * added batch-write of confirmations
  * added batch deletions

Todo:

- batching of delivery confirmations
- reliable channel enhancements as discussed