[technical] Fix problem in error reporting
[technical] fix error in version handling
[technical] enhance error handling in curl
Build up a more explicit message when sending the email
[technical] fix error in deployment of rest (no database script path)