Fix broken DWA

Commit e762d7d1 broke outgoing DWA by setting new Hop-by-Hop and
End-to-End identifiers instead of those of the incoming DWR.
erts: Fix memory leak for distributed monitors
Fix handling of 5014, DIAMETER_INVALID_AVP_LENGTH

The error was detected as 5004 (DIAMETER_INVALID_AVP_VALUE) for
stringish Diameter types, in which case an AVP length that pointed past
the end of a message resulted in encode failure of the suggested
Failed-AVP.

Should have been fixed in commit 4ce2d3a6.
Merge branch 'anders/diameter/broken_dwa/OTP-11367' into anders/diameter/patch_release/OTP-11459

* anders/diameter/broken_dwa/OTP-11367:
  Fix broken DWA
Merge branch 'anders/diameter/5014_failure/OTP-11395' into anders/diameter/patch_release/OTP-11459

* anders/diameter/5014_failure/OTP-11395:
  Fix handling of 5014, DIAMETER_INVALID_AVP_LENGTH
Update appup, vsn -> 1.4.4
Merge branch 'anders/diameter/patch_release/OTP-11459' into maint-r16

* anders/diameter/patch_release/OTP-11459:
  Update appup, vsn -> 1.4.4
  Fix handling of 5014, DIAMETER_INVALID_AVP_LENGTH
  Fix broken DWA
Update release notes
xmerl: Add tests for XPath queries that resolve the context namespace

Ensures that both the original namespace prefix and a namespace prefix
provided to the xmlContext will both return the same sets of nodes.
xmerl: Look up unknown prefixes in xmlContext when matching attributes

The core use case is a query where the original prefix in the scanned
document is unknown (or varying).  For example:

  xmerl_xpath:scan("//@ns:name", Doc, [{namespace, [{"ns", Uri}]}])

Previously, this would only return a result if the namespace prefix
was an exact match.
xmerl: Use context namespace declarations to resolve prefix node tests

Previously, a match would not be found if the namespace prefix in the
XPath query was not contained in the original document.  This allows
the `namespace' option to provide a prefix that will be resolved to a
namespace URI.

See Section 2.3 of the XPath 1.0 specification for the behaviour of
'NCName:*' node tests.
Merge branch 'sverk/monitor-memory-leak/OTP-11410' into maint

* sverk/monitor-memory-leak/OTP-11410:
  erts: Fix memory leak for distributed monitors
Avoid serialization on code_server in xmerl:export()

The inheritance mechanism in xmerl used to use 'catch apply(M,F,Args)' to
try different modules M until one was found that had a function F/A.
However, when M:F/A does not exist, apply/3 will trap to
error_handler:undefined_function/3, which will call code:ensure_loaded(M),
making a synchronous request to the code server process. If many processes
tried to use xmerl:export() concurrently, they would get serialized waiting
for the code server process. This patch uses erlang:function_exported/3
instead to check if M:F/A exists. If M exists, it should already have been
loaded at that point due to the inheritance checking in the
xmerl:callbacks/1 function.
Merge branch 'danielwhite/xmerl-xpath-resolve-context-namespaces/OTP-11461' into maint

* danielwhite/xmerl-xpath-resolve-context-namespaces/OTP-11461:
  xmerl: Use context namespace declarations to resolve prefix node tests
  xmerl: Look up unknown prefixes in xmlContext when matching attributes
  xmerl: Add tests for XPath queries that resolve the context namespace
Merge branch 'richcarl/xmerl-avoid-code-server-serialization/OTP-11463' into maint

* richcarl/xmerl-avoid-code-server-serialization/OTP-11463:
  Avoid serialization on code_server in xmerl:export()
Merge branch 'maint-r16' into maint