Bringing back functionality from old quazaa svn fork.

Added close button and view type icons back in tabbed layout.
Added raw message formatter.
Server view sends raw messages and sending quote from a view will switch
to that session's server view.
Added view type icons to session tree widget.
Added a pointer to a session's default view in the session.