Fixing XMLSecurity so it works with the StarfieldTMS IdP

Namespace info wasn't being passed to REXML::XPath.first calls when
trying to find the CanonicalizationMethod elements. This was causing the
wrong c14n method to be used for xml responses sent from our IdP
resulting in mismatched digests and a failure to validate.
Merge pull request #53 from bundacia/nsfix

Fixing XMLSecurity so it works with the StarfieldTMS IdP
Fix missing validation_error: Response#validate_structure was raising Exception instead of ValidationError
Added settings.compress_request to permit uncompressed authrequests (which play well with diagnostic tools like Firefox SAMLTracer)
Merge pull request #57 from newrelic/master

Added settings.compress_request to permit uncompressed authrequests
Merge pull request #56 from patriciomacadden/fix_missing_validation_error

Fix missing validation_error
Adds ability to parse out NotBefore and NotOnOrAfter for responses with signed Response element rather than signed Assertion element. Also abstracts out the retrieval of xpaths from within the signed Response/Assertion.

Also adds tests with Timecop to make sure NotBefore and NotOnOrAfter work, because existing tests failed once Time.now got past the short window of the test response.
Merge pull request #58 from squarooticus/master

Fix for response condition validation based on responses I'm getting from OneLogin
Version bump
Version bump
response.is_valid? is now idempotent
The validate_doc operation in xml_security.rb was modifying the original document, making the second run fail, so the code now copies the document before modifying it.
Merge pull request #63 from squarooticus/master

Address issue #60
Fix IssueInstant date format
Merge pull request #65 from andrewhr/auth_request_timestamp

Fix IssueInstant date format
Added the Destination attribute to the AuthnRequest
Added settings option double_quote_xml_attribute_values
Added an explicit validation error when the X509Certificate is missing from the SAML Reponse
Merge pull request #67 from newrelic/add_destination_attribute

Added the Destination attribute to the AuthnRequest
Bump version
Merge pull request #66 from newrelic/add_validation_error_when_missing_certificate_in_response

Added an explicit validation error when the X509Certificate is missing from the SAML Reponse