Api misc improvements
This PR add the following improvements:
- add the possibility to upload the contracts in turtle or json-ld
- handles the errors when sending event to the MQ (if any) (files are intentionally duplicated and will be merged with the single module refactor PR)
- errors can have different status
- update the documentation
- minor fixes