Add refequals method for Php::Value

You can use this method to check for reference equality. You can use it
to compare whether two arrays are the same.

There is no similar function in PHP, but we need it when we want to
write a serialize program.