port resolve.rs from oldvisit to <V:Visitor> trait.
Ported trans/base.rs from oldvisit to <V:Visitor> trait API.
Ported liveness.rs from oldvisit to <V:Visitor> trait API.
Ported typeck::collect from oldvisit to <V:Visitor> trait API.
port callee.rs from oldvisit to <V:Visitor> trait API.
port type_use.rs from oldvisit to <V:Visitor> trait.
Ported typeck/check/mod.rs from oldvisit to <V:Visitor> trait API.
Port regionck from oldvisit to <V:Visitor> trait API.
auto merge of #8619 : pnkfelix/rust/fsk-visitor-vpar-defaults-step3, r=nmatsakis

Follow up to #8539 (step 2 of 5).

(See  #8527, which was step 1 of 5, for the full outline.)

Part of #7081.