Updated as per Rafal's comments.
	Added copyright to new files.
	Updated ResourceDocGenerator so that GenericChildResource is ignored.
	Made TypeVariable cache thread-safe.
	Moved TypeVariable processing into convert overload.