Add a reply textarea to answer in threads.

+ implements PUT method and common function to update a JSON entry