Added newtab functionality.

Added newtab from http://stackoverflow.com/questions/7171725/open-new-terminal-tab-from-command-line-mac-os-x/12147804#12147804?s=045568a3-40b0-4795-841c-9268e5503a90.