Apply remaining fixes from #8732.
Also adds msb (most significant bit) function to multiprecision.
Fixes #8732.
Change to use std::string::size_type rather than unsigned.
Fixes #8748.
Fix left shift operator.
Fixes #8741.
Correct output of small-integer types.
Fixes #8745.
Update history and regenerate docs.