Unit test changes

This forms the basis for being able to build and run unit tests under TeamCity across all OS'es. Major change is that unit test are no longer a separate build but are run by putting --unittest on the command line in the main build (debug version only).

I'd like to also launch the full app and shut it down once as a test but I haven't gotten that working yet.