scripts/powerline - use python2.7
segments/shell - allow static status values
segments/common - add ndots to hostname()