[T] ↔ Vec<T> as appropriate, mozilla/rust#13165.
Fix makefile dependencies.
Remove unused/unnecessary imports.
Ignore new layout doc files.