Added ability to specify 'bonus' params.

* Model can provide bonus params, which are quantities computed
  from the model but not actually parameters.
* Improve some of the example codes, have them use printStatistics.