Modify unwrapping logic to be a little more robust.

* Rename unwrapPD to unwrapAndNormalizePD in PDFactory,
  PDFactoryDouble
* Break split point calculation out into new methods
  findSplitIndex in each.  The logic is the same for
  both, but the details of the internal storage differ,
  so one function isn't used.  The logic is also different
  than the old unwrapPD, and hopefully more robust!
* Doc improvements in utility.
Modify safety factors.

* Increase safety factors for P(D) computation: zero padding,
  2D upper limit, safety factor.
Improve estimation of band 2 model maximum for setting R range.

* Numerically solve for point where lognormal model falls
  below a specified level to set the band 2 max R range.
Another attempt at improving unwrapping.

* See details in PDFactory::findSplitPoint
Start implementing storage of filenames, extensions in calcLikeDouble
Add some HDF5 attribute writing utilities, use them.

* New files hdf5utils.[h|cc] with Attribute writers.
  The idea is to write a) booleans b) arrays c) vectors.
* Use in affineEnsemble.
* Version number bumped.
Merge branch 'base' into unwrap

Conflicts:
	Doxyfile
	configure.ac
	src/Makefile.am
Use new hdf5utils, calcLikeDouble write info about beamsets.

* Use hdf5utils routines in PD/PDDouble, calcLike/calcLikeDouble,
  numberCounts.
* Add methods to write calcLikeDoubleSingle to HDF5 files,
  call them from calcLikeDouble::writeToHDF5Handle.
  The idea is to write the filenames, beamnames, extensions to the
  output file.
Start including filenames, etc. in calcLike.
Add HDF5 writing to calcLikeSingle.

* Add HDF5 methods to calcLikeSingle, similar to those in
  calcLikeDoubleSingle.
* Finish setting of filenames, extensions in calcLikeSingle reads.
* Remove writePDToStream from both calcLike and calcLikeDouble,
  since I generally write to HDF5 these days.
Add hdf5utils functions for Data (not just attributes).

* Add some functions for writing data arrays to HDF5 files.
* Move outputfile type determination to hdf5utils, add this
  capability to the example programs.
Merge branch 'base' into unwrap
Fix memory leak in numberCountsDoubleLogNormal init, use hdf5utils data routines

* Fsolver wasn't being nulled in all constructors of
  numberCountsDoubleLogNormal, which caused deallocation crashes.
* Update Model and R range 2D tests.
* Use hdf5utils data writing routines throughout.
Missing address in hdf5utils::writeAttString
Merge branch 'base' into unwrap
A bunch of minor cleanups, bug fixes in 1D splitIndex
Add more useful error messages to hdf5utils that give attribute name.
Merge branch 'base' into unwrap
Bug fixes, re-enable timing option.

* Re-enable --enable-timing in configuration file.  Add
  tracking of split index search to timing.
* Change loop order in marginalization over P(D) for split search.
  Much faster this way -- although the split was only 6% of the
  time anyways before.
* Remove debugging output of PD values from calcLikeDouble, which
  had been left in there inadvertently.
Add some more hdf5utils writers