added code style test
Merge branch 'codestyle'
rules and messages property path, nested entity validation
getFlattenMessages fix
path is optional
codestyle