Improve crypto_util coverage

This PR includes commits from #126.
Thanks for the heads up, @schoen.

And BTW I found relevant pull request https://github.com/martinpaljak/M2Crypto/pull/25, so you don't have to exercise your SWIG foo, @jdkasten...