Remove last yoda conditions as per coding standards guidelines.

Using my experimental [Yoda sniff](https://github.com/dereuromark/cakephp-codesniffer/blob/master/Vendor/PHP/CodeSniffer/Standards/MyCakePHP/Sniffs/ControlStructures/ConditionalExpressionOrderSniff.php) I removed the last Yoda conditions as per guidelines.

* Consistency (only one way)
* Readability++
* Avoid mistakes with < and > as it can easily backfire.

Also strstr() should either remove the == part or use ===. I think the latter makes more sense.