fix memory leaks caused by smart pointer cycles
fixed memory error where hdf5 version func was returning freed c_str
fix invalid memory access - by making test trader keep smart ptrs of its bid+request portfolios.  This allows its bid/req associated with the folios to stay in scope until the tests is done
fix paste error over config var in version.cc.in
Merge pull request #942 from rwcarlsen/mem

fix memory leaks caused by smart pointer cycles