Provide cache capacities for build an generators

Duplicate enhancement from symfony2admingenerator/AdmingeneratorGeneratorBundle#802 
@sescandell What if we have `User-generator` in `AcmeDemoBundle` and `User-generator` in `AcmeSecureBundle`?