Add support for XDG_CONFIG_* and friends on Linux

Address keybase/keybase-issues#277
Address keybase/node-client#143