Merge pull request #37 from HaToHo/master

Content-Type problem
Made things work after the last merge.
Change to locations to one
Added another authn context
Added another authn context
Handling error in XML document
Updated tests
Removed unused url
Fixed wrongly spelled entity category
Added namespace tag definition.
Spelling error
application: Rewrite URL-processing for readability.
Fix pruning of IDP.ticket - _info is overwritten.
Merge pull request #38 from fredrikt/master

example idp bugfix
editorial
Change in parameter name
Avoid duplicated or to some extend faulty information.
Loading a MD file was faulty.
Read metadata from somewhere and dump it in the MD format.
Made it possible to accept a success Response without Attribute and AttributeValues.
Switched to use a simple monotonic increased identifier for authn types.
'Return' is the correct parameter name in discovery.