initial ST3 port

I hard coded the "Terminal" name into line 22, because __name__ returns "Terminal.Terminal" instead of simply "Terminal". There may be other problems also, but it does work on OSX with both Terminal and iTerm.