nGraph EP Optimizations (#1630)
* Added check for unnecessary function initializations, and removed lock from unneeded areas of code.
* Added LRU cache to EP.
* Bugfixes for nGraph EP Optimization PR
* Changed default cache size to 500 and refactored mutex readability.
* Fixed unsafe environmental variable fetch for Windows.
* Cleaned up Windows environment functions and cleaned up mutexes.