Update cookbook/form/dynamic_form_generation.rst

not used  "use Symfony\Component\Form\Event\DataEvent;"

missing "use Symfony\Component\Form\FormEvent;"
for "public function preSetData(FormEvent $event)"
Merge pull request #217 from CedCannes/patch-1

Update cookbook/form/dynamic_form_generation.rst