Adjust handling of nil parameter for permitted hash.

When a nil param value arrives in place of an expected hash, return :key => nil, not simply nil.

Prior:

> params
=> {"book"=>nil}
> params.permit :book => { :genre => :type }
=> {}

Now:

> params
=> {"book"=>nil}
> params.permit :book => { :genre => :type }
=> {"book"=>nil}