Autoload compatibility checking for url-quote-magic and add-zsh-hook

Added automated checking for url-quote-magic and add-zsh-hook prior to performing autoload.  This makes oh-my-zsh compatible with older versions of zsh.