Cleanup src/librustc/back
auto merge of #7219 : sstewartgallus/rust/cleanup, r=graydon
vec: remove BaseIter implementation

I removed the `static-method-test.rs` test because it was heavily based
on `BaseIter` and there are plenty of other more complex uses of static
methods anyway.