Federation Metadata consumption

added federation metadata support, simplification of configuration, ACS as well as direct WAAD federation.