Add TypedDict to typing_extensions (#628)

This is almost a verbatim copy of the code in `mypy_extensions` plus few small tweaks due to different imports from `typing`.
6 files changed