Update models for full R computation.

* That code compiles, no testing because the build fails further along.
Full compile (except checks).  No testing.

* Many, many changes.
Getting unit tests to work.

* Bump version number to 0.3.0
* Fix unit tests.
* Fix a number of bugs, the most vexing of which was
  an incorrect RWork allocation in PDFactoryDouble.
Split off beam tests, add more tests.

* beam_test.cc split off from model_test.
* Add more tests, including of negative beams, to beam_test
* Update R comparison values for model_test based on IDL values.
* Add more tests, including negative beams, to model_test.
Some bug fixes from comparison to P(D) coverage results.
Fix output of affineExcept messages.
Merge branch 'base' into rfull
Playing with timing.  Also fixed a bug in the flux set ranges.

* Re-enable support for timing code.
* Fix bug in code to setup R flux ranges with negative values.
Try re-packing RWork to make cache hits more efficient.
Some comments, bug fix for out of bounds in flux1
Some comments, bug fix for out of bounds in flux1
Fix memory leak in zeroing RWork.  Remove nested identical tests in PDFactoryDouble
Merge branch 'optr' into rfull

Conflicts:
	src/numberCountsDoubleLogNormal.cc
Add some tests of PD, PDDouble
Change signature of mean/var methods, add tests for them.

* Rather than things like getMean(double&), do getMean() returns
  a double for getMean, getMeanAndVar, and the 2D equivalents.
* Add unit tests for those functions, including after logging.
Merge remote-tracking branch 'origin/rfull' into rfull
Improvement in unwrapping.

* Rather than split at the minimum, which is unstable due to numeric
  noise, split at the first value less than some ratio down from
  the peak.  If that isn't available, split at the minimum.
Change peakfrac in unwrapping slightly