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.
Merge pull request #653 from auss/patch-1

Fixed preg_match