add di compiler create method

DiCompiler::create($injectorFactory, $cache, 'CacheKey');
update phpmd.xml