Initial stab at getting AppleScript working

Currently only works for one command:

````osascript
tell application "ImageOptim"
	do queuecount command	
end tell
````

Could be used by https://github.com/JamieMason/ImageOptim-CLI

/cc @JamieMason