make doctrine mapping info command validate the metadata. fix #385

this aligns the phpcr-odm command with what the orm command does.

https://github.com/doctrine/doctrine2/blob/master/lib/Doctrine/ORM/Tools/Console/Command/InfoCommand.php