make form and validation extractors optional

this way, you can disable forms, validation, session configs in your symfony app when you do not need them