Logout

Added LogoutCommand and LogoutResult. Made changes to XmlApiClient and
XmlApiSession to implement logout.