Rewrite script in Objective-C

The original Python script was reacting a little slowly, causing Coda to freeze
up every time you hit the keyboard shortcut, which isn't good if you were
trying to generate a bunch of lines after each other.