Fixed tests after merging pattern deprecation
bug #10535 [Form] Fixed tests after merging pattern deprecation (stefanosala)

This PR was merged into the 2.5-dev branch.

Discussion
----------

[Form] Fixed tests after merging pattern deprecation

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Tests were not run on #10001.
Here are some fixes.

Commits
-------

e2d8944 Fixed tests after merging pattern deprecation
[Bridge][Propel1][Form] Model choice accept custom unique column

Use now ->add('my_field', 'model', array('class' => 'MyClassWithSlug', 'index_property' => 'slug'));
To make choice list keys as slug