The AST importer currently does not handle injected class names properly (it does not bind their types to the type of the parent as the parser would) and it doesn't handle constructor initializers at all.
This patch adds support for both of those, and also forwards the isImplicit() and isReferenced() flags for *all* declarations as is done for isUsed().
In my latest patch, I have introduced a function named ImportContainerChecked(). I think it could make this code a bit more clean. What do you think?