Consolidate console.php
Created by: stuudmuffin
Did some work to consolidate console.php and chat.php into a single file. Fixed “missing semicolons” on a lot of javascript that was making komodo edit 10 angry. Also changed a few of the headers on some pages regarding killing the script if the user isn’t logged in.