Add ref method for Php::Value

If you want get a reference of a value, you can use this method.

It will work correctly when patched #114.
Merge branch 'ref' into my_branches