Multiroles report: bugfix (in progress)

* fix problem with incorrect status for multi roles configuration(PRD-1879);
* add correct work with field 'error_type' => 'deploy' in response (do no send it in middle, send in final status if need);
* add tests;
* remove trailing spaces.