Sleep-aware and Xcode 6 compat.

Updated xcodeproj for Xcode 6 compat. Added listeners to stop playback and update menu on machine sleep. Added build dir to .gitignore.