Remove OS X console warning (and hopefully fix continuing crashes)

Added a patch submitted to Qt (QTBUG-40585) that stops a warning ("2014-08-04 13:29:25.376 Python[71022:507] -[NSApplication runModalSession:]: Use of freed session detected. Do not call runModalSession: after calling endModalSesion:.") from occurring on the command line. This patch also includes some stability fixes backported from Qt4. This will hopefully stop or greatly reduce the Armory crashes on OS X.