Fix fields_for_params when Boolean values #1818

Fixes issue #1818 by adding a case for TrueClass,FalseClass. No modification of the values is needed (I think) because the form tag helpers can handle and convert these.