Standard state test

The commit to DagNode.cpp is potentially important for some compilers and would affect many analyses.

I think that the changes to the testing harness and StandardState are correct but only affect the standard datatype likelihoods that Tracy and I are working on.  But it would be good for someone to look them over before merging.