Basic support for a Django based SP. Still very rough, no error detection, no tests, ..

--HG--
extra : convert_revision : lgs%40yaco.es-20091208203618-4c4rflgzoh058mu8
Added Lorenzo's Django branch

--HG--
extra : convert_revision : roland.hedberg%40adm.umu.se-20091211070548-ahe2v726sreltel4
Merge Roland's work

--HG--
extra : convert_revision : lgs%40yaco.es-20100521113254-n25m1w7enzyqnxk4
Pep8-ication of the djangosaml2 package

--HG--
extra : convert_revision : lgs%40yaco.es-20100622133046-61silwf1ysan36os
Update the djangosaml2 application to latests pysaml version.

Main changes:
     - The SAML2 configuration is not in a different file anymore
     but in the settings.py in the SAML_CONFIG constant
     - Now there is an additional view, metadata, that shows the
     xml SAML2 metadata for this SP. It uses the configuration defined
     in SAML_CONFIG (in settings.py)
     - The djangosaml2 application now stores the outstanding queries
     because pysaml2 need that information to process AuthnRequest
     response

--HG--
extra : convert_revision : lgs%40yaco.es-20100625155021-x0febyyt2d3h660l
Update djangosaml2 quick instructions

--HG--
extra : convert_revision : lgs%40yaco.es-20100625183118-r1t8clgnckermug1
Add some docstrings

--HG--
extra : convert_revision : lgs%40yaco.es-20100625183823-tdepurx60qt9cs2v
Update copyright statement

--HG--
extra : convert_revision : lgs%40yaco.es-20100625184016-gj4ygnqy8ebhecnj
Logout initiator and endpoints. The config format needs to change to allow two urls for both the single sign on service and the logout service

--HG--
extra : convert_revision : lgs%40yaco.es-20100629215557-mfgzeqz6b9se6vq1
Remove print statement

--HG--
extra : convert_revision : lgs%40yaco.es-20100629220055-kupgvu5khz1jmnn6
Move some logic into the Client class to make djangosaml2 simpler

--HG--
extra : convert_revision : lgs%40yaco.es-20100701161133-33nbekvoqzcp4pwa
Remove a print statement and make the code fit into 80 columns lines

--HG--
extra : convert_revision : lgs%40yaco.es-20100701161353-zwi4r1xvh3cru282
Adapt djangosaml2 to use the new API. Still not finished

--HG--
extra : convert_revision : lgs%40yaco.es-20100804170419-3xl2835m2g5vmvdc
Small bug fixes in the client code to allow global logouts. Now the global_logout function returns a list of urls that should be called to perform the logout

--HG--
extra : convert_revision : lgs%40yaco.es-20100805190819-ljeakogyzmopvwq2
Cleanup some things in djangosaml2

--HG--
extra : convert_revision : lgs%40yaco.es-20100806191558-icnr5wqu3iqb5yku
Adapt the code to use the new Cache system of pysaml2

--HG--
extra : convert_revision : lgs%40yaco.es-20100807090222-tis1e0rxs03i147m
The logout process is not complete until we receive the SAML response from the IdP and do the local logout

--HG--
extra : convert_revision : lgs%40yaco.es-20100807090315-8ilv7rgngw20aibc
Handle the case when the IdP starts the logout process and we have to give it a response. It's the only case an SP replies with a SAMLResponse

--HG--
extra : convert_revision : lgs%40yaco.es-20100807181010-f8ojnvmi61df7f2o
WAYF support in djangosaml2

--HG--
extra : convert_revision : lgs%40yaco.es-20100819183308-wo1hl5pj479i146v
Test infrastructure for the Dangosaml2 application

--HG--
extra : convert_revision : lgs%40yaco.es-20100821180854-79bvmhufv20ede7v