Object and type utilities, borrowed from PythonSharp; DotExpression get property from native object