Rewrote text-to-speech to use NSSpeechSynthesizer on OS X.

Fixes text-to-speech not working (on Mavericks) and avoids several deprecated API calls.