add corefoundation and carbon includes to get this working on osx 10.9

This wasn't working for me on 10.9.3 so I just made some tweaks to get it working. I had to add imorts for Carbon.h and CoreFoundation.h and also to comment out this line:

    require_noerr( status, CantGetNavOptions );

Nice addon!