Include has_one attributes correctly when calling to_params

Follow on to https://github.com/remiprev/her/pull/206 to add support for has_one in to_params.

Also fixes https://github.com/remiprev/her/issues/258