Fix for above,aboveleft rendering

powerline recently added multiline prompts, I copied the code from the 'powerline' script  and adapted it to work in powerline-daemon. This will allow powerline-daemon to render 'above' | 'aboveleft' segments.