Fixes prompt colors

When *not* escaping colors commands, readline history can get messy (see http://superuser.com/questions/248469/do-i-need-to-enclose-ansi-escape-sequences-in-and-in-a-bash-prompt).
Also changes ANSI escape code with tput commands.