Add tmux support for few segments.

- Add a way to get the environment variables from tmux
- Update the following segments vcs_branch, virtualenv, sandbox_id,
  sandbox_perforce_branch_name, sandbox_flavor