Added per-app stats endpoint (bug 915422)