Delete any temp log file before each unit test case

This fixes Issue #1072. Also fixed a typo in the QLoggingCategory .ini file directory.