Issue refs #1598: implement template deletion, fix LastChange in reporting model, update api-client