Fixed set_cookie max-age parsing

Max-age is expected to be in seconds and thus cannot be parsed by _since_epoch.
Expire attribute is calculated from now() and max-age
fixed an invlaid sequence for ldapgvat
added support for more hash algorithms (SHA2, RIPEMED160)
(this patch required for saml2test alg config option)
SIG_RSA_RIPEMD160 not implemented
undo removeal of imports of xmldsig.SIG_RSA_SHA..
added support for md5 as digest algorithm (used to test that this is rejected);
added support for redirect signature algorithm check
Fixed security issues spotted by tom@catalyst.net.nz .
Got the tests working.
Added allow_unsolicited parameter to config class.
extended API with lists for supported NameID formats, AttributeName formats, digest and sig algs
Fixing location of 'allow_unknown_attributes' in args lists
Merge pull request #134 from Runscope/master

Fixing location of 'allow_unknown_attributes' in args lists
As Rainer Hörbe pointed out: "A principal is a user, not an entity in SAML. The UnknownPrincipal exception in mdstore.py should be renamed as suggested in the title to avoid confusion.
Unfortunately the OASIS SAML glossary is using the X-811 definition of principal, but contradicts itself otherwise by redefining the term implicitly in other definitions such as Account, Affiliation, IDP, Persistent Pseudonym, etc"
Merge branch 'master' of github.com:rohe/pysaml2
Update request.py
Merge pull request #136 from mdipierro/master

Update request.py. Take care of the possibility no receiver_addrs are defined.
Merge pull request #123 from tpazderka/cookie_expire_fix

Fixed set_cookie max-age parsing
Endpoint index when given must be an integer but stored as a character.
Editorial
Allow kwargs to percolate down through calls. Mark static methods as such.