Merge pull request #3547 from varyonic/fix_has_many

Test and fix rendering of multiple input fields in has_many.
extend specs for form builder

for better coverige of has_many bugs