Misc: Cib model: Expose resource fail-count and last-failure

Signed-off-by: Tim Serong <tserong@suse.com>
GUI: Status: Add "View Details" to resource menu, show fail counts (fate#314391)

Signed-off-by: Tim Serong <tserong@suse.com>