Assert namespaces are found and remove null-pointer warning
Allow resolve class declarations in class objects

Use INACCESSIBLE_OUTER_CLASS_EXPRESSION error for marking already resolved elements

 #KT-3261 Fixed
Mix class object scope to member resolution scope in lazy resolve
Fix recursion of checking type is supertype during resolving list of supertypes