Debug Report Rename: Update API.json

Update API.json for validation.

Signed-off-by: Hongliang Wang <hlwang@linux.vnet.ibm.com>
Debug Report Rename: Update API.md

Update API.md accordingly.

Signed-off-by: Hongliang Wang <hlwang@linux.vnet.ibm.com>
Debug Report Rename: Implement Back-end

Added processing in model and controller.

Signed-off-by: Hongliang Wang <hlwang@linux.vnet.ibm.com>
Debug Report: Use Generated Time instead of Most Changed Time

Currently debug report generation time is ctime, which stands for change time.
Though getting creation time for file is dependent to platforms, and we'll use
mtime which stands for modification time and for our case because debug report
file will not be modified since it is generated. So mtime suits for our case.

Signed-off-by: Hongliang Wang <hlwang@linux.vnet.ibm.com>
Debug Report: Sort Reports by Generated Time Descendingly

Sorted reports by generated time descendingly.

Signed-off-by: Hongliang Wang <hlwang@linux.vnet.ibm.com>
Debug Report Rename UI: Add API in kimchi.api.js

Added API.

Signed-off-by: Hongliang Wang <hlwang@linux.vnet.ibm.com>
Debug Report Rename UI: Add Rename Page

Added rename page including HTML, CSS, and JS.

Signed-off-by: Hongliang Wang <hlwang@linux.vnet.ibm.com>
Debug Report Rename UI: Enable Rename in Host Tab

Enabled rename feature in host tab.

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

Added rename function in mock model.

Signed-off-by: Hongliang Wang <hlwang@linux.vnet.ibm.com>
Debug Report Rename: Update Test Code

Update model tests and mockmodel tests for debug report.

Signed-off-by: Royce Lv <lvroyce@linux.vnet.ibm.com>