Changed the Base CMake file to build Xavista based on wether or not Qt5Widgets was found.
Updated tests to actually test what they were meant to test. Fixed newly found bugs. Deleted linkage test and disabled hash test.