In has_many nested form, give new elements same classes than existing.
Merge pull request #2952 from kenzai/has_many_fields-html-classes

In has_many nested form, give new elements same classes than existing.