start to handle xmlsec errors in ruby

 - split out code for our three primary operations into their own files
 - add some helper assert methods to start cleaning up the interaction
   with the C layer, and use them in signature verification
 - verify_signature now returns a SignatureVerificationResult rather
   than just a boolean
 - properly distinuish between digest mismatch and signature mismatch
   when we verify signatures