MockModel: Can't Generate Report if Name is not Given

We'll generate a report name if name field is left blank in real case,
though not in mock model. Added it in mock model to keep consistent.

Signed-off-by: Hongliang Wang <hlwang@linux.vnet.ibm.com>
Debug Report UI: Generate Report Doesn't Work with Mock Model

Mock model will return a task with "finished" state immediately when the user
generates a report, though the generate window will disappear only when there
is a task with "running" returned so it will never disappear.
  Fixed it in this patch.

Signed-off-by: Hongliang Wang <hlwang@linux.vnet.ibm.com>