base64: implements rfc4648, the base64 encoding

    Encode buffers into base64 according to rfc4648.
    Decode base64-encoded buffers according to the same standard.
    Encoding and decoding may be done in place if buffers are taken.

    Signed-off-by: <pb-ccan@barker.dropbear.id.au>