(PE-1773) Reports fail to upload if `name` attribute is not included in event

If a whole resource fails - i.e. there is a resource failures that is not specific to a property - the failure event will not have a `name` attribute (this can be reproduced if you change the owner or group of a file resource to an owner/group that does not exist). Then, Dashboard will fail to upload the report and will create a DelayedJobFailure, which will show up as red failed background task in Dashboard. This is because we are now stricter about sanatising submitted reports.

We are now less strict about this specific case.
[PE-1788] Final tweaks to make RSpec test work