Add function for creating SAML metadata string from config dict.
Add function for creating SAML metadata string from config dict.

Cleanup of imports and code formatting.

irtnog/SATOSA,irtnog/SATOSA,SUNET/SATOSA,SUNET/SATOSA,its-dirg/SATOSA