rotate logfiles
Logging improvements.

Pretty-print XML for both SAMLRequest and SAMLResponse.
Remove some repeated code.
More SAML message logging improvements.