Rename "status" variable in _lp_battery function

"status" is a reserved word in ZSH (depending the current configuration).
With this commit, we don't depend anymore on this settings.
git: fix git directory detection

Typo in git rev-parse argument
CHANGES: log _lp_git_branch fix
Add 'sudo' feature (#335)

Change the color of the prompt mark while 'sudo' credentials are cached.

New variables:
- LP_ENABLE_SUDO
- LP_COLOR_MARK_SUDO

https://github.com/nojhan/liquidprompt/issues/335
CHANGES: add 'sudo' feature
Merge branch 'feature/sudo' into develop

Closes #335
Move _LP_PERCENT declaration down
Add LP_CURRENT_DIR_ONLY option

This feature relates to #256. The goal is to have an
option to display only the current directory as path.
This is done with the LP_CURRENT_DIR_ONLY option. It
works only when the shorten path feature is disabled,
with LP_ENABLE_SHORTEN_PATH set to 0.
Implementation works for bash and zsh.