JSON : support message for fail and error on preconditions

Add support of onFailMessage and onErrorMessage to changeSet and add support of onFail[Message] onError[Message] to changeLog for json format.