GATEWAY-3364: print full stack trace when throwable passed to XDCommonResponseHelper
Old implementation incorrectly called toString on an array of StackTraceElement.
GATEWAY-3364: better error message for no to addresses in direct soap context.
Merge pull request #368 from tparnell/GATEWAY-3364

Gateway 3364
GATEWAY-3364: fix unit test