Fix warning
Cleanup
Test suite improvements
Run every test in its own directory
Simplify determination of build directory

Due to the possibility of having the configuration file in arbitrary
directory, it is not necessary to special case NUL build directory in the
core.
Make all warnings fatal under when testing
Add test for $hypervisor variable
Add BUILDDIR variable

Modify powerpc example to use this variable.