add an interface for the generator to know if it has the supports method
Merge pull request #44 from symfony-cmf/safe-generator

add an interface for the generator to know if it has the supports method