Update to latest per-directory-history

See [https://github.com/jimhester/per-directory-history]
Update to latest per-directory-history
`fc -l 1` instead of `history` in zsh_stats #2501

$HIST_STAMP breaks zsh_stats. see #2501
Makes history-substring-search use term specific up and down buttons. Fixes #2089.
history-substring-search: bindkey now checks if terminfo is available first.
Correct redirection of output from 'hash'

The intention of the redirection to /dev/null is to hide the output
'hash: no such command: git' since we rely on the exit status.

However, the output goes to stderr, so it's stderr that needs to be
redirected. For completeness, we redirect both stderr and stdout using
'2>&1'.

Example:

  [~]$ hash git > /dev/null
  [~]$ PATH=''
  [~]$ hash git > /dev/null
  hash: no such command: git
  [~]$ hash git > /dev/null 2>&1
  [~]$
Spelling correction in itunes control function.

Spelling correction in itunes control function.
Use cache folder inside $ZSH, delete with unaliased rm
Fix for Python3

In Python3 without universal_newlines set to True
output from Popen was byte-encoded.
Fix `docker rmi` tab completion

This is exactly what happens on tab completion for docker rmi. This commit
fixes that.

```sh
$ docker rmi <hit TAB>
_arguments:comparguments:312: invalid argument: __docker_images
_arguments:comparguments:312: invalid argument: __docker_images
_arguments:comparguments:312: invalid argument: __docker_images
```
Merge pull request #2693 from javiertejero/master

Fix `docker rmi` tab completion
Merge pull request #2729 from grodzik/master

Fix for Python3
Merge pull request #2650 from kemko/patch-1

don't add --exclude-dir to GREP_OPTIONS on FreeBSD
Merge pull request #2511 from FloFra/master

Makes history-substring-search use term specific up and down buttons.
Merge pull request #2502 from UniIsland/patch-1

`fc -l 1` instead of `history` in zsh_stats, fixes #2501
Merge pull request #2671 from ukrutt/master

Correct redirection of stderr
Merge pull request #2728 from benwong/patch-2

Spelling correction in itunes control function.
Merge pull request #2681 from mcornella/fix-zsh_reload-plugin

Various fixes on zsh_reload plugin
Merge pull request #1635 from jimhester/per-directory-history

Update to latest per-directory-history
Changed upgrade remote to 'upstream'