Add isRef and refequals methods for Php::Value.