allow build failures on ruby-head for now since there's an issue with bundler
fix test cases broken when the fix for #47 landed.
refactor csr/spki/cert to reduce method duplication by moving a bunch of

identical methods to an included helper