Move PTYTab scripting code into its own file.
Add second copy of iTerm2 target to use as applescript test app. Add complete tests for applescript commands.