Implement Integer trait for BigInt/BigUint

This is a folow-up commit for #6071.
Also adding `#[inline(always)]` for almost every methods in `std::bigint`.