Move book handle wrapping to dedicated class, simplify ASSERT_SAME_BOOK and
ThrowLibxlError.