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
Perform keyboard switching on main thread.

Nothing except https://developer.apple.com/library/mac/technotes/tn2125/_index.html specifies that HIToolbox can't be run on the main thread, but switching keyboards seems like something that should.
Make the results controller nicer, and fix a few bugs

* Fix to make sure the details string always shows the right results
* Better spacing of icons in the result table
* Remove the gradient header/footer
* Make the dot icon bigger
* Use Autolayout - better for resizing.
* Nudge things around a little