Fix minor cs stuff

Fix minor cs stuff for SensioLabs Insight

see comments in:
- [81eeed7](https://github.com/ezsystems/ezpublish-kernel/commit/81eeed73d4d0bbef426a93a34e8ec5827061d293#diff-815d3d8ea9dc460909aa8b30ae05fef5R146) 
- [03da9f4](https://github.com/ezsystems/ezpublish-kernel/commit/03da9f40fcff122a8cafc1271fa72f75a3fecf60)