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 in its place but with a different key (element name).