apply more tpl on inboxgroup
add $app and $route as global variables just like $inc, $op, $page and $nav
remove route handler on plugins as this is now handled by core