[Test] Build tests with optimization disabled

Compiling the tests takes longer than running them, so it actually saves time to
compile the tests with optimizations disabled.

git-svn-id: https://cantera.googlecode.com/svn/cantera/trunk@3198 02a645c2-efd0-11dd-984d-ab748d24aa7e
[Test] Use Cantera shared library for tests, when possible

On Linux systems, link tests against the Cantera shared library, rather than the
static library to reduce the size of the compiled test suite. This saves over 1
GB of disk space when compiling with debug symbols enabled, and also reduces the
run time of the test suite.

This does not work on Windows, where the shared library only exports the Cantera
C interface.

git-svn-id: https://cantera.googlecode.com/svn/cantera/trunk@3199 02a645c2-efd0-11dd-984d-ab748d24aa7e
Remove unnecessary checks before deleting pointers

git-svn-id: https://cantera.googlecode.com/svn/cantera/trunk@3200 02a645c2-efd0-11dd-984d-ab748d24aa7e
[Test] Fix memory leaks in CtiConversionTest and ChemkinConversionTest

git-svn-id: https://cantera.googlecode.com/svn/cantera/trunk@3201 02a645c2-efd0-11dd-984d-ab748d24aa7e
[Test] Run 'appdelete' at end of GTest tests

This makes it easier to find memory leaks when using Valgrind by suppressing
false positives associated with data cached by Cantera.

git-svn-id: https://cantera.googlecode.com/svn/cantera/trunk@3202 02a645c2-efd0-11dd-984d-ab748d24aa7e