Add isList, isMap & isRef methods for Php::Value

If the array is zero-based indexed array, then isList return true, or
return false. The result of isMap contrast with the isList.

The result of isList is not always correct, but it's fast.

If the variable holds a reference of a value, isRef return true, or
return false.