Parse booleans from strings in ParamsBehavior
Add check to preserve 1/0 numerics.

Bool test would naturally convert 1/0 to true/false, which may not be
desired in some cases.
Added unit tests.
Added asserts to check output types explicitly.
Merge branch 'pr/569-boolean-params' into 2.2

* pr/569-boolean-params:
  Added asserts to check output types explicitly.
  Added unit tests.
  Add check to preserve 1/0 numerics.
  Parse booleans from strings in ParamsBehavior