IdP Initiated logout

This is a rebased version of the patch for IdP initiated Logout (Pullrequest #120) created by @buffym.

The patch has also been further tested (along with the tests run by @buffym on OneLogin server) on a norwegian identiy provider (Feide), and shown to work.