Adds data-params handling for handleMethod. This allows the link_to handler with e.g. method: "post" to add post fields from the a-tags data-params attribute to the form.