Modernization of secure input using Console - take two
This patch was authored and released by @gwynne.
This is a rehash of #153 with improved compatibility and a better testing matrix.
getpass() is very, very old, and deprecated everywhere it exists. This PR switches to readpassphrase() on macOS, provides a (incomplete but sufficient) re-implementation of readpassphrase() based on that of libbsd for Linux, and adds an implementation for Windows using the conio interface.