Support making types partial in CodeGenerator.
Support making class partial with EnvDTE.
Fix FileCodeModel.CodeElements returning wrong item at index.