Minor changes per last SensioInsight analysis

Change boolean comparisons to === instead of == to clear SensioInsight warnings. One change in UUID.php change from ```false == preg_match``` to ```! preg_match``` as 0 is an acceptable return value (false only returns in an error, thus `false===` would break in the tests