Provide cache capacities for build an generators

Duplicate enhancement from symfony2admingenerator/AdmingeneratorGeneratorBundle#802 
If I'm not wrong, `$generatorYaml`  should be a full file path... so takes into account your case (if I'm not wrong... and, by the way, if this is the case, I should better sha1 the generated key...