Fixed bug where $db_port was being ignored in the upgrade process.    See SF Support Requests #365
Make sql_connect() take an optional port parameter.
Added passing of $db_port to sql_connect() call in convert_db_to_utf8.
See [support-requests:#365].
Improved error reporting in the week view when there are no rooms
Removed redundant code