Fix a cuple of bugs:
1. Autoload compinit was added;
2. Check _get_comp_words_by_ref is defined and undefine the function routine
   was added. It need because _get_comp_words_by_ref is defined as a stub in
   some zsh versions.