3.0 CS fixes

This fixes most of the current CS errors we are having.

Remaining errors are:
- Useless method overriding detected
- Variable "_sort" is not in valid camel caps format
- Public method name "and_" is not in camel caps format
- PHP4 style constructors are not allowed; use "__construct()" instead

For those errors I think some adjustments on the Coding Standard repository should be made.
I will create a PR for that later on.