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
fixed Material::Absorb to not mistake mass comps for atom comps. Wrote test to prevent this in future
Merge pull request #944 from rwcarlsen/mass

fixed Material::Absorb to not mistake mass comps for atom comps
ResourceBuff improvements and better error handling.

* added overloaded PopQty with eps arg to ResourceBuff

* ResourceBuff re-zeros qty_ member if all resources have been popped - to
  better deal with floating point issues.

* better error messages for ResourceBuff exceptions

* try-catch around RunSim to avoid core dumps when exceptions are thrown
Merge branch 'rwcarlsen-buff' into develop