fixed bad entities, CRM-14311

----------------------------------------
* CRM-14311: Add metadata to doctrine entities
  http://issues.civicrm.org/jira/browse/CRM-14311
Merge pull request #2620 from kurund/CRM-14311

fixed bad entities, CRM-14311