Add descriptions to enums used in the OAuth 2 advanced options dialog

This to make them more human readable.

SOAP-1845 ALL CAPS
Revert "removes unused whitespace stripping functionality"

This stuff is set dynamically from a desktop panel property.

This reverts commit 37247e4df7637535ced4453fd610738760538ec7.
adds test for writing the response of a wsdl mock response with an attachment