add sf2 schema validator

Runs app/console doctrine:schema:validator, only in Symfony2 applications.
Stops commit on mapping error, but not when database is out of sync.