minor fixes in the PhpcrDriver.php

We should use "===" and "!==" instead of "==" and "!=" since it's better and faster in this case.