updated to Symfony2.3
removed MinLength deprecated validatore
updated deprecated method setFlash()