oaiharvest: reliability improvement and sphinx docs

* Prints not only error logs for every workflow, but also
  everything with a superior code error (40) like critical.

* Adds sphinx documentation syntaxes to various functions.

* Reactivates mails and tickets for harvesting process.

Signed-off-by: Guillaume Lastecoueres <guillaume.lastecoueres@cern.ch>
train work preparation