Added compatibility functions for DDL table and createTable method not
supporting auto_increment fields on 1.4-1.5 versions
Reworked getMagentoEdition to make it possible to use after
Mage::app()->baseInit() not only after Mage::app()->_initModules()