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

/cc @Crell  - i found another missing cleanup that i now fixed. this should not bring a new BC break you if you use / extend ProviderBasedGenerator and not your own generator.

btw i notice that the symfony core routing component puts everything generator into its own subnamespace Generator. i guess we don't want to move them all anymore for the cmf?