Symfony 2.2 support

This makes Propel2 work with Symfony 2.2 libraries. (Almost all the changes are due to the Validator component.)