make doctrine mapping info command validate the metadata. fix #385
Merge pull request #422 from doctrine/mapping-info-validate

make doctrine mapping info command validate the metadata