allow replacing elements within a form collection

currently you can only remove elements by submitting fewer elements than is requested. this patch will allow you to replace elements i.e. remove an element and add another one.
tests to rmove and replace form collection elements
Merge pull request #4884 from radnan/patch-2

Allow replacing elements within a form collection
Merge branch 'feature/4884' into develop

Close #4884