Use common pattern for managing nested attributes

The existing duplicate_fields.js gives us everything we need to handle
the management of nested attributes without the need for custom JS or
for any param massaging in the controller.