Publish persistent messages for QoS 1.
Merge bug25982
stable to default