Implementation of Magento Varien_Object as PHP extension