Implemented back get_children and get_content using the new action pattern.

* Now get_client and get_children messages are completlly asynchronous,
  the client can issue multiple request at the same time and they will
  be processed in parallel by the respective documents' processes.
* Better error handling and better error code maping.