Plugin caching

Retrieving metadata can be a costly operation. Here is a Thread-safe helper class to keep the retrieved metadata cached within a plugin.

Please note that the cache will be local to the current process where CRM maintains the initialised instance of the plugin class.