Fix a typo in variable name that makes a variable leak

Closes #232.
Revert fix applied on the wrong branch (lp_temp_sensors)

Revert "Added null check for count in _lp_temp_sensors() to stop division by zero errors in case count is still zero."
Closes #214.
Thanks @jaesivsm

This reverts commit 9d96a82c807149c7077baa546e18e9dadb7e7c37.

Conflicts:
	liquidprompt
Added "upwards find" tests for expensive dvcs.

Mercurial and Bazaar are written in Python, which, on my system,
causes a noticeable hitch in the prompt generation when changing
directories.  I have added code that, before invoking the 'hg' or
'bzr' executables, first tests if we could possibly be in a bazaar or
hg repository checkout by traversing the directory structure upwards
to the root, looking for an '.hg' or '.bzr' folder.

At least for me, this makes the prompt instantaneous.  There may be
more elegant solutions to this problem, but this one works.
Fixed an error in _lp_upwards_find, and enhanced it slightly.

_lp_upwards_find was using a single-quoted $@, not double-quoted, so
find was actually looking for files called '$@'.

In addition, once _lp_upwards_find finds the file it's looking for, it
breaks out so it doesn't need to always traverse to root.  I doubt
this actually saves much in practice, but it might as well be there.
Add a CONTRIBUTING file
Fix #124: zsh magic of %~ with environment variables

unset local variables that interfere with autonamedirs in oh-my-zsh
1) unset local variable p before use in zsh pwd truncation
2) prefix LP_OLD_PWD with "LP:" to avoid autonaming
Enable battery on Mac OS X

This uses ioreg to read the battery status.  This was tested on
Mac OS 10.8.3, but will probably work a few versions back as well.
Update mac-battery support to use pmset instead of ioreg

pmset's output is much closer to the point.
zsh compat: separate variable declaration from first set
Correct a bug in git parsing.
Corret LC_ALL setting in git branch.
Add myself in the authors.
Typos in comments.
Credit myself as co-maintainer
nojhan, original author and dolmen, maintener
Add forgotten local declaration.
Fix use of non-exist variable 'count'

Fixes shell error:
""bash: 46 / : syntax error: operand expected (error token is "/ ")
Merge branch 'develop': post release fixes
Merge upstream develop branch