Change how numberCountsDoubleLogNormal handles model validity info.

* Added basic numberCountsDoubleLogNormal unit test
* This revealed issues with how model validity was being stored,
  so entire framework for that was rewritten.