mangle C++ ::std and ::std::allocator correctly

On Linux, there are shortcut mangles for ::std and ::std::allocator which were not implemented.

Not done on Windows because C++ template mangling currently isn't done at all on Windows. Need to fix that with another PR.

Also wound up removing some tabs from the test files.
p->isTemplateInstance() may return null, so it is not equivalent to your snippet.