Fixed numerous errors. Refactored design.

Updated XmppPeer class definition. Updated the handling of roster information.