ChatServerManager implementation, plus minor changes.

Finished implementation of ChatServerManager.
Made changes in the representation of messages and rooms that were necessary for storage in the database. Made minor servlet changes to adapt to this.