Fix macro name on reflections on habtm

Since 4.1, when rails starts a use `has_many through` to do `habtm`,
`habtm` reflections was using `has_many` macro. This commit bring back
`has_and_belongs_to_many` macro in `habtm` associations' reflections.

fixes #14682