bin/base64: rewrite in a more modern style
bin/base64: rewrite in a more modern style

Rewrite the `base64' demo utility in a more modern style. Remove global
variables, encapsulate the config, handle option parsing in a separate
function, do not use static arrays, and add copious comments.

aklomp/base64,aklomp/base64,aklomp/base64