Installer fixes.
* Fix maintenance mode to not break installer (we can't check for maintenance mode if there is no database yet). * Fix mismatch between Tables.php and TableMigrations.php.
Authored by: jastek 2008-05-14
Parent: [r119]
Child: [r121]