unify include guards and namespaces.
add getpass(3) wrapper.
cleanup api.
fix readdir_r usage.
Merge branch 'devel_crypto_cleanup'