Add pmset-simulator to simulate battery info on MacOS X

https://github.com/nojhan/liquidprompt/issues/326
pmset-simulator: fix tabs

Thanks to @MafooBristol in
https://github.com/nojhan/liquidprompt/issues/326#issuecomment-66104427
Battery/MacOS X: improved parsing

Parsing improved (faster, stricter), manually tested with pmset-simulator.
TODO: write automated tests.

https://github.com/nojhan/liquidprompt/issues/326
Battery/MacOS X: fix pmset parsing for tabs

See
https://github.com/nojhan/liquidprompt/issues/326#issuecomment-66104427
pmset-simulator: add state 'attached'

See
https://github.com/nojhan/liquidprompt/issues/326#issuecomment-66120495
pmset-simulator: strong quoting of here-docs
Battery/MacOS X: strong quoting for status value

The status value may be 'AC attached', so we have to properly quote to
avoid spaces.
Battery/MacOS X: replace fuzzy matching with strong matching

As we now have a strong simulator, we can replace fuzzy matching on
status values with exact matching.
Merge branch 'refactor/MacOS-battery' into develop

Rework of the battery implementation on MacOS X thanks to @MaffooBristol
input.
https://github.com/nojhan/liquidprompt/issues/326
CHANGES: update for recent commits