Adds a status code to the result and error responses.

* Add a status code to error and result response to help
  quickly know the request outcome for example it helps
  to know if the result is a full entity a path or if
  nothing changed.
* Implemented the erod side of the patch_content action
  up to erod_document.