entity generator - ignore trait properties and methods

Fixes:

[DDC-1825](http://www.doctrine-project.org/jira/browse/DDC-1825)
[DDC-2154](http://www.doctrine-project.org/jira/browse/DDC-2154)