Merge remote-tracking branch 'upstream/master' into imageio
add testing framework using Boost.Tests
Adding tests for libs.  Trying to make CMake run tests.
Merge branch 'master' into boost_test
Fix chisq output.  Still need to determine if it is meaningful.
clean up all references to old method for file IO.
Merge pull request #10 from msarahan/text_output_fix

Text output fix
add more unit testing framework.  Currently segfaulting mysteriously on Windows, VS2008.
cleaning up Mingw code from CMakeLists
Merge branch 'master' of https://github.com/QSTEM/QSTEM into boost_test

Conflicts:
	libs/data_containers.cpp
switched to dynamic linkage - this was cause of segfaults in testing.
improved verbosity of test output.
fix regression in linking for stem3.  This is a linux-only regression.
got basic memory allocation tests working - test framework should now be fully functional.
Made test building optional, so that Boost Test binaries are not a hard requirement for the base project.