more fixes for entities generation, CRM-14241

----------------------------------------
* CRM-14241: setup new repo for doctrine integration work
  http://issues.civicrm.org/jira/browse/CRM-14241
Merge pull request #2579 from kurund/CRM-14241

more fixes for entities generation, CRM-14241