Prevent duplicates in hook function arrays

If the module was sourced twice, the hook functions would each appear
twice in their hook's array and hence be run twice. Using 'add-zsh-hook'
prevents this.