Update ~/.bashrc

Properly detect whether a terminal multiplexer (such as screen or tmux) is being
used and export an appropriate TERM value.

Clean up clutter.