Add API func to validate that message bears a particular sig

@lmacken mentioned he was interested in using something like this for the bodhi masher.

Fixes #200.