Fix `Delegates` namespace being not generated.
Fix `Delegates` namespace being not generated.

In some cases `Delegates` namespace could be attached to a namespace which is not wrapped and as a result of that `Delegates` namespace was also not generated in wrapper code resulting in a wrapper build errors. Change adds extra logic which tries to find the correct library namespace if more than one namespace is present.

mohtamohit/CppSharp,zillemarco/CppSharp,mono/CppSharp,ddobrev/CppSharp,mohtamohit/CppSharp,zillemarco/CppSharp,zillemarco/CppSharp,ddobrev/CppSharp,mono/CppSharp,mono/CppSharp,ddobrev/CppSharp,mono/CppSharp,mono/CppSharp,mono/CppSharp,mohtamohit/CppSharp,mohtamohit/CppSharp,mohtamohit/CppSharp,ddobrev/CppSharp,ddobrev/CppSharp,zillemarco/CppSharp,zillemarco/CppSharp