Add ENV_PROMPT support to prompt.

Setting ENV_PROMPT environment variable will add a red env portion to
the last prompt line.

Also adds a few functions to simplify setting colors in the prompt.