Changes to get QS building in Xcode 6 beta

Mainly this just involves casting the app delegate to QSController
It seems ARC is also now picky about id types
Merge pull request #1864 from quicksilver/xcode6

Changes to get QS building in Xcode 6 beta