basic functional file upload pages
ajax file upload attempt (not working)
ajax file upload now functional
remove redundant files
improve Faye JS loading and make chat room use hostname instead of 'localhost', enabling deployment.
fix room_path defined in the wrong scope.
relocate some variable definitions.