make Gillespie integrator work with older compilers, clean up test suite, tweak for clang compile on Linux