os: add .homedir()
In almost every cli-client that I write I need the current homedir at a certain point.
While we have a function for getting the directory for storing
temporary files (callled tmpdir
), a function for receiving the
location of the home directory is still missing.