Windows/VS2013 Hot Fix

Addresses multiple startup/shutdown crashing issues with tighter vs2013 crt memory tracking.  These are patches, in particular, changes to ResourceCache.cpp (win32 only) introduces a leak just to avoid crashing.

Introduces a workaround for https://bugreports.qt-project.org/browse/QTBUG-16117
Windows now uses the default input/output device only, and makes no attempt to select the "best" device.