Don't rely on qt.conf anymore to know where to get Qt plugins from [ci skip].

This was specific to Linux and OS X. Now, we rely on
QCoreApplication::setLibraryPaths(). Otherwise, also cleaned up /
improved various things in src/main.cpp.