Fixed order of CREATE TABLE statements to prevent error
Revised setup.php-dist file for (hopefully) easier installation experience
Revised configuration_error_html.php view to support direct setting of error messages in errors global (allows setup.php and index.php to set errors)
Revised index.php to set error and load errors view if database connection fails; replaces ugly die() call + error message
Fixed incorrect initialization