Added the support anonymous type annotations(called ObjectType in TypeScript).
Minor: rewrote some `if` with `when` after KT-5234 fixed and added link to KT-5257 in TODO.
Cache declarations for ObjectType and reuse them when it possible.
Share typeMapper between modules.