Update to latest per-directory-history

See [https://github.com/jimhester/per-directory-history]
Update to latest per-directory-history
add brew-cask plugin
`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.
Add new brew cask commands
Merge pull request #1 from KevinBongart/brew-cask

Add new brew cask commands
history-substring-search: bindkey now checks if terminfo is available first.
brew-cask plugin: use spaces instead of tabs
Added git mode support for merging, rebasing, and bisecting

<B> Designates Bisecting
>M< Designates Merging
>R> Designates Rebasing
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
  [~]$
Merge pull request #2329 from pstadler/brew-cask

add brew-cask plugin
Remove mailcatcher

The mailcatcher gem does not work correctly when executed through Bundler.
Merge pull request #2685 from delynn/patch-2

Remove mailcatcher from bundler plugin
Merge pull request #2633 from redsunsoft/agnoster-theme-git-mode-addition

Added git support for merging, rebasing, and bisecting to agnoster theme
Spelling correction in itunes control function.

Spelling correction in itunes control function.
Use cache folder inside $ZSH, delete with unaliased rm
set exclude-dir or exclude grep flags only if available
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
```