[bugfix] Compatibility with Magento CE 1.8

Provides compatibility with Magento CE 1.8. This changes are not
backward compatible with 1.7.
[task] Merge development branch

* Provides compatibility with Magento CE 1.8