Fix a couple of warnings in UnitTest.h

Refs #9252
Add windows compiler flag to not treat wchar as built in.

This is required for the QString::fromStdWString type methods to work and
seems to have no ill effect.
Refs #9252