Implementation of Magento 1 Varien_Object as PHP extension