Made SoFiA ready for Qt 5
Some modifications have been made to a number of files to make SoFiA fit for Qt 5. When compiling, the installed version of Qt will now be automatically detected and either the Qt 4 or 5 header files loaded.