Allow namespace-agnostic class lookup by passing NULL namespace.
Optimized mono_custom_attrs_from_class lookups by hashing them

Conflicts:
	mono/metadata/domain-internals.h
	mono/metadata/domain.c