Enhance compatiblity with Magento v1.4.2.0

Method `Mage::getEdition()` does not exist in Magento v1.4.2.0. A simple `method_exists()` prevents a fatal error, the rest of the page seems to render just fine.

Closes #17