Fix has_many nested fieldset indexing

Basically all I do here is let form_builder do it's thing with
it's weird invalid html, but account for it in the has_many.js
by counting both children('fieldsets') and all the fieldsets that
would have been originally rendered by the form inside the `li` tag.