Instead of displaying the paths imported by a module as a flat list,
use <details> elements to display a tree.
Make tree nodes for (roughly) "account" and "repo", so that
"github.com/google" is one level of the tree, and
"github.com/google/somerepo" is the next level. Don't group beyond
that on the assumption that users would want to see all the importing
packages in a repo as a flat list.
Also, get rid of pagination on the query. Instead use a large limit,
and only display paths up to that limit.
Fixes b/139411420.
Change-Id: I55e030e5f901dacf854f2e7f585a444d089f6ea1
Reviewed-on: https://team-review.git.corp.google.com/c/golang/discovery/+/537581
Reviewed-by: Julie Qiu <julieqiu@google.com>