libkrbd convenience library

Reviewed-by: Josh Durgin <josh.durgin@inktank.com>