Use PyObject_GetDict instead of _PyObject_GetDictPtr
ZODB try to get object's dict and copy it without modification. Pyston can't provide a writable dict. However, it can provide a copy of object's dict. So add a new PyObject_GetDict API to return a copy of object's dict. And let ZODB use this API.