use python osascript

Switched to Python osascript wrapper:
https://pypi.python.org/pypi/osascript/0.0.4

This was easier to copy/paste the Applescript code into the Python
script.  It also allows there to be just one script to execute.

It was also more forgiving in the escaping of special characters.