Removed accidental backport of StAX code in 3.2.5 (restoring Java 5 compatibility)

Issue: SPR-11341
Fixed setDeliveryPersistent javadoc

Issue: SPR-3983
(cherry picked from commit 9cc86a3)