Java docs and sample of durable mailbox, see #2761

This is clean cherry-pick from release-2.1 and should not require re-review.

* Added abstract class DurableMessageQueueWithSerialization
(cherry picked from commit 49720e8cd09243ffea9f02c245e0053c126bf555)