Add functions for internal use

zsh/zshrc: add function __ensure_dir_exists()
zsh/zshrc: add function __strip()
zsh/zshrc: rename function determine-sysenv() to __determine_sysenv()