Add ContainedLanguageAdapter to fix projects

Thanks to @jasonmalinowski for helping
me figure out what I can do with this mess

This duplicates most of MarkdownLanguageSupport,
which will be removed in next commit.
Remove duplicated code from ContainedLanguage