Add `TypeInfo` functions analogs

It is needed for various Phobos functions.

Requires pull #924.