Diff now returns which ids were added/deleted/changed

Also modified tests client, so that it shows the JSON returned from the
server.