fixed grants check, closures can only be called on objects where the user has read grant
returned old code in ar/core/pinpSandbox that handled calls to _functions.


git-svn-id: https://svn.muze.nl/svn/ariadne-php5/trunk@6652 7882d7ee-46e0-0310-a255-a28a61b628e4