Validate that DiscoHints only appears on IdP

Validate the XML and raise an error when a DiscoHint element appears
in a SP.

When serializating to XML, add only the location data to IdP.