make the default url customizable

this is the page redirected to from `/`,
which defaults to `/tree`.

also changes the redirect code to 302 from 301,
which should cause less grumbling about caching.
remove unused TreeRedirectHandler
Merge pull request #6413 from minrk/default-uri

make the default url customizable