vcat container and eltype promotion, internal speedups

Supersedes and closes #733.
@vchuravy Much better solution -- will do.

@tshort Thanks for reviewing!