set terminal title only when isatty
Merge pull request #687 from ros/terminal_title_only_if_available

set terminal title only when isatty
remove 'emulate sh' from setup.zsh (fix #686)