Changed from PS1 to PROMPT.
Moved zsh functions to separate file.

And generalized displaying path length while I was at it.
Merge branch 'master' into zsh

* master:
  Changed from PS1 to PROMPT.
Removed old functions.
Added simple title function.