Major refactoring of the code and more features
Major refactoring of the code and more features

* modular function for building the prompt from the othe functions
* use tput for colors, everywhere
* show the standing commit numbers
* support branches without remote
* check if a battery is present
* show error codes of previous commands
* use ± as the prompt mark within git directories
* somewhat different colors

tkuminecz/liquidprompt,milouse/liquidprompt,illwieckz/liquidprompt,kenrachynski/liquidprompt,joshuarubin/dotfiles,pkkolos/liquidprompt,tsbarnes/liquidprompt,smadhueagle/liquidprompt,laurentbardin/liquidprompt,BobHood/liquidprompt,jonathanjsimon/liquidprompt,tocomo/liquidprompt,colinlieberman/liquidprompt,dan-cleinmark/liquidprompt,enrdstrm/liquidprompt,jaesivsm/liquidprompt,dtschan/liquidprompt,joshuarubin/dotfiles,joshuarubin/dotfiles,dpilone/liquidprompt,nojhan/liquidprompt,elementalvoid/liquidprompt,timhyson/liquidprompt,tstone2077/liquidprompt,mathieumd/liquidprompt,lyoshenka/liquidprompt,alexprengere/liquidprompt,joshuarubin/dotfiles