add properties to exclude in Entity->toArray() method (as a result of Doctrine upgrade to 2.4, probably)
make legacy class extend current class
Merge pull request #1138 from craigh/entityaccessFix

add properties to exclude in Entity->toArray() method