20140922 add xmlsec debug opt

xmlsec debug option + small refactoring of saml2/entity