cache visited DeclContext(s)

speedup lookup process and also fixed a crash due to
infinite re-visiting namespaces
Fixed a crash

Fixed a silly bug - skip defaulted constructors/destructors, etc