This allows to use compiler intrinsics and specialized hardware
instructions to compute log2, which results in better performance.
Also, added tests for the generic implementation using Boost.Multiprecision
integers.
Closes https://github.com/boostorg/integer/issues/31.
Removed unnecessary template specializations, removed workaround for
compilers not supporting partial template specializations. Use unsigned
integers for bit counting, which allows to replace the division with
a shift.