full escaping of wrapped content, avoids JSON parse errors when embedding html in a json response

Signed-off-by: Joel Nimety <jnimety@continuity.net>
ujs:submit-button get cleared by $.rails.handleRemote so clone it we can add it to the submitted data

Signed-off-by: Joel Nimety <jnimety@continuity.net>