vcat container and eltype promotion, internal speedups

Supersedes and closes #733.