Disable Apple's auto resume feature. Fixes #1152

As per the [docs](http://developer.apple.com/library/mac/#documentation/General/Conceptual/MOSXAppProgrammingGuide/CommonAppBehaviors/CommonAppBehaviors.html#//apple_ref/doc/uid/TP40010543-CH7-SW3)
convert QSSearchPrefPane to autolayout