1439764 WebUI: Fix certificate serial number representation

Authored and Committed by stsymbal 2 years ago
    WebUI: Fix certificate serial number representation
    
    Big numbers are automatically translated to scientific notation in JavaScript.
    It causes an issue with some certificate serial numbers.
    The fix normalizes the notation base on original value from serial_number_hex.
    
    The implementation works only for browsers that support BigInt.
    It would not work for old browsers like Internet Explorer.
    
    Ticket: https://pagure.io/freeipa/issue/8754
    
    Signed-off-by: Serhii Tsymbaliuk <stsymbal@redhat.com>
    Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>