Fixed preg_match

We should be sure that the checked option ends with Type. 
Without that such configuration in *generator.yml:
```yml
page:
        label: ""
        formType: \NS\AdminBundle\Form\Type\BasePage\EditType
        addFormOptions:
          data_class: NS\CMSBundle\Model\Page\TeaTypePage
```
will generate such code:
```php
$formOptions = $this->getFormOption('page', new required' => false,  'data_class' => 'NS\CMSBundle\Model\Page\TeaType());
```
and of course fatal error.