Added fix for #3873
Fixing an issue where using getters on a Entity field would keep modifying the field
over and over. This comes at a cost of dropping the indirect modification feature
when using getters in entities.
fixing a couple CS issues
Merge pull request #4100 from cakephp/3.0-misc-orm-fixes

3.0 misc orm fixes